staRdom (version 1.0.8)

eem_interp: Missing values are interpolated within EEM data

Description

Missing EEM data can be interpolated. Usually it is the result of removing scatter. It is done along each excitation wavelength. This step is recommended if you aim for a PARAFAC analysis. Interpolation is done with hermitean interpolation polynomials using pchip.

Usage

eem_interp(data, cores = detectCores(logical = FALSE)/2)

Arguments

data

object of class eemlist with spectra containing missing values

cores

specify number of cores for parallel computation

Value

object of class eemlist with interpoleted spectra.

References

Elcoroaristizabal, S., Bro, R., Garc<U+00ED>a, J., Alonso, L. 2015. PARAFAC models of fluorescence data with scattering: A comparative study. Chemometrics and Intelligent Laboratory Systems, 142, 124-130 https://doi.org/10.1016/j.chemolab.2015.01.017

See Also

pchip

Examples

Run this code
# NOT RUN {
data(eem_list)

remove_scatter <- c()
remove_scatter["raman1"] = TRUE
remove_scatter["raman2"] = TRUE
remove_scatter["rayleigh1"] = TRUE
remove_scatter["rayleigh2"] = TRUE
remove_scatter_width = c(15,10,16,12)

eem_list <- eem_rem_scat(eem_list,remove_scatter,remove_scatter_width)

eem_list <- eem_interp(eem_list)
# }

Run the code above in your browser using DataCamp Workspace