filter_spct
or in an object_spct
.absorbance(spct, w.band, quantity, wb.trim, use.hinges, ...)
## S3 method for class 'default':
absorbance(spct, w.band, quantity, wb.trim, use.hinges, ...)
## S3 method for class 'filter_spct':
absorbance(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':
absorbance(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':
absorbance(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':
absorbance(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 absorbance from afilter_mspct
object_mspct
: Calculates absorbance from aobject_mspct
absorbance(polyester.spct, new_waveband(400,700))
absorbance(yellow_gel.spct, new_waveband(400,700))
Run the code above in your browser using DataLab