Skip to contents

These functions simply divide "raw counts" by the integration time used for acquisition.

Usage

raw2cps(x, ...)

# Default S3 method
raw2cps(x, ...)

# S3 method for class 'raw_spct'
raw2cps(x, ...)

# S3 method for class 'raw_mspct'
raw2cps(x, ...)

Arguments

x

an R object

...

not used in current version

Value

an object of class "cps_spct"

an object of class "cps_mspct"

Methods (by class)

  • raw2cps(default): Default method

  • raw2cps(raw_spct): Method for spectral data expressed as raw instrument counts.

  • raw2cps(raw_mspct): Method for collections of raw-counts spectra

Note

In the case of objects of class "raw_spct" the columns with names starting with "counts" are processed and renamed to columns with names starting with "cps". All other columns are left unchanded.

See also

Other functions for conversion of raw-counts data: raw2corr_cps(), s_fraction_corrected(), s_irrad_corrected()