filter_spct
or in an object_spct
.
Absorptance is a different quantity than absorbance.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 '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), ...)
## 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_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)))
default
: Default for generic functionfilter_spct
: Specialization for filter spectraobject_spct
: Specialization for object spectrafilter_mspct
: Calculates absorptance from afilter_mspct
object_mspct
: Calculates absorptance from aobject_mspct
absorptance(black_body.spct, new_waveband(400,500))
absorptance(white_body.spct, new_waveband(300,400))
Run the code above in your browser using DataLab