Learn R Programming

photobiology (version 0.10.6)

cps2irrad: Conversion from counts per second to physical quantities

Description

Conversion of spectral data expressed as cps into irradiance, transmittance or reflectance.

Usage

cps2irrad(x.sample, pre.fun = NULL, missing.pixs = numeric(0), ...)

cps2Rfr(x.sample, x.white, x.black = NULL, dyn.range = NULL)

cps2Tfr(x.sample, x.clear, x.opaque = NULL, dyn.range = NULL)

Arguments

x.sample, x.clear, x.opaque, x.white, x.black

cps_spct objects.

pre.fun

function A function applied to x.sample before conversion.

missing.pixs

integer Index to positions in the detector array or scan missing in x.sample but present in the embedded calibration data. (Use only for emergency recovery of incomplete data!!)

...

Additional arguments passed to pre.fun.

dyn.range

numeric The effective dynamic range of the instrument, if NULL it is automatically set based on integration time bracketing.

Value

A source_spct, filter_spct or reflector_spct object containing the spectral values expressed in physical units.