Luminescence (version 0.8.6)

apply_EfficiencyCorrection: Function to apply spectral efficiency correction to RLum.Data.Spectrum S4 class objects

Description

The function allows spectral efficiency corrections for RLum.Data.Spectrum S4 class objects

Usage

apply_EfficiencyCorrection(object, spectral.efficiency)

Arguments

object

'>RLum.Data.Spectrum (required): S4 object of class RLum.Data.Spectrum

spectral.efficiency

data.frame (required): Data set containing wavelengths (x-column) and relative spectral response values (y-column) in percentage

Value

Returns same object as input ('>RLum.Data.Spectrum)

Function version

0.1.1 (2018-02-08 18:09:55)

How to cite

Kreutzer, S., Friedrich, J. (2018). apply_EfficiencyCorrection(): Function to apply spectral efficiency correction to RLum.Data.Spectrum S4 class objects. Function version 0.1.1. In: Kreutzer, S., Burow, C., Dietze, M., Fuchs, M.C., Schmidt, C., Fischer, M., Friedrich, J. (2018). Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.8.6. https://CRAN.R-project.org/package=Luminescence

Details

The efficiency correction is based on a spectral response dataset provided by the user. Usually the data set for the quantum efficiency is of lower resolution and values are interpolated for the required spectral resolution using the function stats::approx

If the energy calibration differes for both data set NA values are produces that will be removed from the matrix.

See Also

'>RLum.Data.Spectrum

Examples

Run this code
# NOT RUN {
##(1) - use with your own data (uncomment for usage)
## spectral.efficiency <- read.csv("your data")
##
## your.spectrum <- apply_EfficiencyCorrection(your.spectrum, )

# }

Run the code above in your browser using DataLab