cps2irrad {photobiology} | R Documentation |
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 |
... |
Additional arguments passed to |
dyn.range |
numeric The effective dynamic range of the instrument,
if |
Value
A source_spct, filter_spct or reflector_spct object containing the spectral values expressed in physical units.
Note
In contrast to other classes defined in package 'photobiology', class "cps_spct" can have more than one column of cps counts in cases where the intention is to merge these values as part of the processing at the time the calibration is applied. However, being these functions the final step in the conversion to physical units, they accept as input only objects with a single "cps" column, as merging is expected to have been already done.