Initial loading of spectra
This function loads and initially normalizes the raw spectra. Output is a list with the raw and initially corrected spectra.
initial_load(raw.spec = NULL, file = NULL, corr.norm, use.eshift = NULL)
raw.spec
: List of files already loaded with read_raw_spec()file
: Vector with file namescorr.norm
: Initial correction and normalization parametersuse.eshift
: Set TRUE, if using energy shift value, defaults to NULLdata(stdmix) corr.spec.standards <- initial_load(specdat[1:4], corr.norm = c(-36, -15, 37, 58)) corr.spec.samples <- initial_load(specdat[5:8], corr.norm = c(-36, -15, 37, 58))
Useful links