waveband {photobiology} | R Documentation |
Waveband constructor method
Description
Constructor for "waveband" objects that can be used as input when calculating irradiances.
Usage
waveband(
x = NULL,
weight = NULL,
SWF.e.fun = NULL,
SWF.q.fun = NULL,
norm = NULL,
SWF.norm = NULL,
hinges = NULL,
wb.name = NULL,
wb.label = wb.name
)
new_waveband(
w.low,
w.high,
weight = NULL,
SWF.e.fun = NULL,
SWF.q.fun = NULL,
norm = NULL,
SWF.norm = NULL,
hinges = NULL,
wb.name = NULL,
wb.label = wb.name
)
Arguments
x |
any R object on which applying the method |
weight |
a character string |
SWF.e.fun , SWF.q.fun |
a functions giving multipliers for a spectral
weighting function (energy and quantum, respectively) as a function of
wavelength [ |
norm |
a single numeric value indicating the wavelength [ |
SWF.norm |
a numeric value giving the native normalization wavelength
[ |
hinges |
a numeric vector giving the wavelengths at which values in
|
wb.name |
character string giving the name for the waveband defined,
default is |
wb.label |
character string giving the label of the waveband to be used
for labelling computed summaries or plots, default is |
w.low , w.high |
numeric value, wavelengths at the short end and long ends
of the wavelength band [ |
Details
Objects of class waveband
are used to store the different
bits of information needed to compute summaries from spectral data by
integration over wavelengths. The wavelength ranges, possible spectral
weighting functions (SWF) or biological spectral weighting functions
(BSWF), their normalization wavelengths and names and labels used for
reporting the results are all stored in waveband objects. This facilitates
the use of functions that compute summaries, as well as ensures consistency
in computations and labelling, as all the bits of information are passed
together. Class "waveband"
is derived from R class list
.
Value
a waveband
object
Functions
-
new_waveband()
: A less flexible variant
See Also
Other waveband constructors:
split_bands()
Examples
waveband(c(400,700))
new_waveband(400,700)