View source: R/waveband.class.r
normalization | R Documentation |
Normalization wavelength [nm
] and other normalization metadata of an R
object, retrieved from the object's attributes.
normalization(x)
## Default S3 method:
normalization(x)
## S3 method for class 'waveband'
normalization(x)
## S3 method for class 'generic_spct'
normalization(x)
## S3 method for class 'summary_generic_spct'
normalization(x)
## S3 method for class 'generic_mspct'
normalization(x)
x |
an R object |
In the case of wavebands for spectral weighting functions
(waveband
objects), the normalization wavelength is returned. For
spectral objects (generic_spct
and derived ), the normalization
descriptor, a list object, is returned. This list contains in addition to
the normalization wavelength, the multiplier used and type of normalization
applied. These metadata makes it possible to "undo" the normalization and
to "update" the normalization after a transformation, such as conversion to
a related physical quantity, of the spectral data.
A single numeric value of wavelength [nm
] or a list with
with members.
normalization(default)
: Default methods.
normalization(waveband)
: Normalization of a waveband
object.
normalization(generic_spct)
: Normalization of a generic_spct
object.
normalization(summary_generic_spct)
: Normalization of a summary.generic_spct
object.
normalization(generic_mspct)
: Normalization of a generic_mspct
object.
Older versions of the package stored only a subset of the metadata or
only a flag to indicate that normalization had been applied. For such
objects some or even all fields in the returned list are set to NA
.
Other waveband attributes:
is_effective()
,
labels()
is_normalized(sun.spct)
normalization(sun.spct)
sun_norm.spct <- normalize(sun.spct)
is_normalized(sun_norm.spct)
normalization(sun_norm.spct)
my_wband <- waveband(c(400,700))
is_normalized(my_wband)
normalization(my_wband)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.