1 #ifndef NAMED_SPECTRUM_H 2 #define NAMED_SPECTRUM_H 24 :
Spectrum(Spec_domain, Spec_range), name_(Name), index_(Index) {}
28 name_(Name), index_(Index) {}
34 virtual const std::string&
name()
const {
return name_;}
40 virtual int index()
const {
return index_;}
44 Os <<
"NamedSpectrum:" << std::endl
45 <<
" name: " << name_ << std::endl
46 <<
" index: " << index_;
virtual int index() const
An reference index for the spectrum, ie a spectrometer index.
For different instruments, it is more natural to either work with wavenumbers (e.g., GOSAT) or wavelength (e.g., OCO).
const SpectralRange & spectral_range() const
Spectral range (e.g, radiance values)
virtual const std::string & name() const
Name that makes this a named spectrum.
Adds name and spec index fields to a Spectrum.
NamedSpectrum(const Spectrum &Spec, const std::string &Name, int Index)
This is a full spectrum, which contains a SpectralRange and SpectralDomain.
NamedSpectrum(const SpectralDomain &Spec_domain, const SpectralRange &Spec_range, const std::string &Name, int Index)
Constructor.
We have a number of different spectrums that appear in different parts of the code.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
NamedSpectrum()
Default constructor needed for SWIG.
const SpectralDomain & spectral_domain() const
Spectral domain (i.e., wavenumber or wavelength).
void print(std::ostream &Os)