wavelength: Handling wavelength and fwhm

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Methods to access and set wavelength (band center) and full-width-half-max (fwhm) values for class Speclib.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## 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

Arguments

object

Object of class Speclib.

value

Numeric vector or data.frame containing wavelength values.

Details

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., smoothSpeclib, spectralResampling, vegindex, nri, plot, mask).

Value

For wavelength<- and fwhm<-, the updated object. Otherwise a numeric vector of the wavelength and fwhm-values is returned.

Author(s)

Lukas Lehnert

See Also

Speclib

Examples

1
2
3

hsdar documentation built on Nov. 17, 2017, 4:35 a.m.