wavelength | R Documentation |
Methods to access and set wavelength (band center) and full-width-half-max (fwhm) values for class Speclib
.
## S4 method for signature 'Speclib' wavelength(object) ## S4 replacement method for signature 'Speclib,data.frame' wavelength(object) <- value ## S4 replacement method for signature 'Speclib,numeric' wavelength(object) <- value ## S4 method for signature 'Speclib' fwhm(object) ## S4 replacement method for signature 'Speclib,numeric' fwhm(object) <- value
object |
Object of class |
value |
Numeric vector or data.frame containing wavelength values. Must always be in nm! |
Wavelength (band center) and full-width-half-max (fwhm) values are given for each spectral band. The wavelength is mandatory for creation of Speclib
and is used within the whole functionality of the package (e.g., noiseFiltering
, spectralResampling
, vegindex
, nri
, plot.Speclib
, mask
).
For wavelength<-
and fwhm<-
, the updated object. Otherwise a numeric vector of the wavelength and fwhm-values in nm is returned.
Lukas Lehnert
Speclib
data(spectral_data) wavelength(spectral_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.