initial_load function

Initial loading of spectra

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)

Arguments

  • raw.spec: List of files already loaded with read_raw_spec()
  • file: Vector with file names
  • corr.norm: Initial correction and normalization parameters
  • use.eshift: Set TRUE, if using energy shift value, defaults to NULL

Examples

data(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))
  • Maintainer: Florian Werner
  • License: GPL-3
  • Last published: 2017-11-22

Useful links