Usage
trim_spct(spct, range = NULL, low.limit = NULL, high.limit = NULL,
use.hinges = TRUE, fill = NULL, byref = FALSE,
verbose = getOption("photobiology.verbose", default = FALSE))trim_mspct(mspct, range = NULL, low.limit = NULL, high.limit = NULL,
use.hinges = TRUE, fill = NULL, byref = FALSE,
verbose = getOption("photobiology.verbose", default = TRUE))
trim2overlap(mspct, use.hinges = TRUE,
verbose = getOption("photobiology.verbose", default = TRUE))
extend2extremes(mspct, use.hinges = TRUE, fill = NA,
verbose = getOption("photobiology.verbose", default = TRUE))
Arguments
spct
an object of class "generic_spct"
range
a numeric vector of length two, or any other object for which
function range() will return a numeric vector of length two
low.limit
shortest wavelength to be kept (defaults to shortest
w.length value)
high.limit
longest wavelength to be kept (defaults to longest w.length
value)
use.hinges
logical, if TRUE (the default) wavelengths in nm.
fill
if fill==NULL then tails are deleted, otherwise tails or s.irrad
are filled with the value of fill
byref
logical indicating if new object will be created by reference or
by copy of spct
mspct
an object of class "generic_mspct"