Create spectrum from wavebands

Share:

Description

Create a generic_spct object with wavelengths from wavebands in a list.

Usage

1
wb2spct(w.band)

Arguments

w.band

waveband or list of waveband objects The waveband(s) determine the wavelengths in variable w.length of the returned spectrum

Value

A generic.spectrum object, with columns w.length set to the union of all boundaries and hinges defined in the waveband(s). Different spectral data variables are set to zero and added making the returned value compatible with classes derived from generic_spct.

See Also

Other tagging and related functions: is_tagged, tag, untag, wb2rect_spct, wb2tagged_spct

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