Description Usage Arguments Value Examples
View source: R/calc_DoseRate.R
This function estimates the in-situ gamma dose rate of the provided gamma spectrum based on the recorded countrate and comparing the integrated sum to that of an internal calibration spectrum.
1 2 3 | calc_DoseRate(data, energy.min = get_EnergyThreshold(),
energy.max = NULL, background.correction = TRUE, plot = TRUE,
plot.combine = TRUE, app = FALSE, ...)
|
data |
required:
An SPE file imported with |
energy.min |
|
energy.max |
|
background.correction |
|
plot |
|
plot.combine |
|
app |
|
... |
Additional arguments: |
Returns terminal output, a plot and a list
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Load Example Data
file <- system.file("extdata", "Nievenheim_DORNIE_1.spe", package = "gammaSpec")
## Import SPE files
spec <- read_SPE(file)
## Estimate the in-situ gamma dose rate
res <- calc_DoseRate(data = spec,
energy.min = 1000,
energy.max = 2000,
background.correction = TRUE,
plot = TRUE,
plot.combine = FALSE,
verbose = TRUE)
print(res$summary)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.