Handling wavelength and fwhm

Share:

Description

Returning and setting wavelength and full-width-half-max (fwhm) values in Speclib and HyperSpecRaster

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## 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 'HyperSpecRaster'
wavelength(object)

## S4 replacement method for signature 'HyperSpecRaster,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 or HyperSpecRaster.

value

Numeric vector or data.frame containing wavelength values.

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, HyperSpecRaster

Examples

1
2
3

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.