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.
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
.
## Load Example Data file <- system.file("extdata", "Nievenheim_DORNIE_1.spe", package = "gammaSpec") ## Import SPE files spec <- read_SPE(file)#> Warning: incomplete final line found on 'D:/R/Github/Packages/gammaSpec/inst/extdata/Nievenheim_DORNIE_1.spe'## 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)#> #>#> #> #> #>#> doserate doseRate_error #> 1 0.9755945 0.07097715