Skip to contents

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

Usage

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()