Constructor for "waveband" objects that can be used as imput when calculating irradiances.
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)
any R object on which applying the function range yields an array of two numeric values, describimg a range of wavelengths (nm)
a character string "SWF" or "BSWF", use NULL (the defalt) to indicate no weighting used when calculating irradiance
a function giving multipliers for a spectral weighting function (energy) as a function of wavelength (nm)
a function giving multipliers for a spectral weighting function (quantum) as a function of wavelength (nm)
a single numeric value indicating the wavelength at which the SWF should be normalized to 1.0, in nm. "NULL" means no normalization.
a numeric value giving the native normalization wavelength (nm) used by SWF.e.fun and SWF.q.fun
a numeric array giving the wavelengths at which the s.irrad should be inserted by interpolation, no interpolation is indicated by an empty array (numeric(0)), if NULL then interpolation will take place at both ends of the band.
character string giving the name for the waveband defined, default is NULL
character string giving the label of the waveband to be used for ploting, default is wb.name
numeric value, wavelength at the short end of the band (nm)
numeric value, wavelength at the long end of the band (nm)
a waveband
object
new_waveband
: A less flexible variant
Other waveband constructors: split_bands
# NOT RUN {
waveband(c(400,700))
new_waveband(400,700)
# }
Run the code above in your browser using DataLab