
Function to apply linearization correction to raw counts data.
Source:R/linearize.counts.R
linearize_counts.Rd
Uses a function stored as an attribute of x
, by default retrieved
from the instrument's firmware at the time of data acquisition or possibly
a replacement set by the user.
Usage
linearize_counts(
x,
force.zero = TRUE,
verbose = getOption("photobiology.verbose", default = FALSE)
)
Value
A raw_spct object containing the adjusted values, still as uncalibrated counts. The object is tagged with the with attribute "linearized" set to the function used for linearization.
Note
In contrast to other classes defined in package 'photobiology', class "raw_spct" can have more than one column of raw counts in cases where the intention is to merge these values as part of the processing at the time the calibration is applied. In other words these columns are not separate observations but instrumental replicates or bracketing readings part of the same "logical" or "effective" observation. The contents of any column whose name starts with "counts" will have the intrument response linearization function applied.
See also
Other spectral data-processing functions:
MAYP112785_tail_correction()
,
MAYP11278_tail_correction()
,
check_sn_match()
,
merge_raw_mspct()
,
new_correction_method()
,
ref_correction()
,
trim_counts()
,
uvb_corrections()