filter_spct or in an object_spct.
Absorptance is a different quantity than absorbance.## S3 method for class 'filter_mspct':
absorptance(spct, w.band = NULL,
quantity = "average", wb.trim = getOption("photobiology.waveband.trim",
default = TRUE), use.hinges = getOption("photobiology.use.hinges", default =
NULL), ..., idx = !is.null(names(spct)))
## S3 method for class 'object_mspct':
absorptance(spct, w.band = NULL,
quantity = "average", wb.trim = getOption("photobiology.waveband.trim",
default = TRUE), use.hinges = getOption("photobiology.use.hinges", default =
NULL), ..., idx = !is.null(names(spct)))
absorptance(spct, w.band, quantity, wb.trim, use.hinges, ...)
## S3 method for class 'default':
absorptance(spct, w.band, quantity, wb.trim, use.hinges, ...)
## S3 method for class 'object_spct':
absorptance(spct, w.band = NULL, quantity = "average",
wb.trim = getOption("photobiology.waveband.trim", default = TRUE),
use.hinges = getOption("photobiology.use.hinges", default = NULL), ...)
## S3 method for class 'filter_spct':
absorptance(spct, w.band = NULL, quantity = "average",
wb.trim = getOption("photobiology.waveband.trim", default = TRUE),
use.hinges = getOption("photobiology.use.hinges", default = NULL), ...)filter_mspct: Calculates absorptance from afilter_mspctobject_mspct: Calculates absorptance from aobject_mspctdefault: Default for generic functionobject_spct: Specialization for object spectrafilter_spct: Specialization for filter spectraabsorptance(yellow_gel.spct, new_waveband(400,500))
absorptance(yellow_gel.spct, new_waveband(300,400))Run the code above in your browser using DataLab