1 #ifndef SpectralDefinition1D_h
2 #define SpectralDefinition1D_h
34 template<
typename T>
class QList;
File name manipulation and expansion.
int sectionNumber(int s, int l, int b) const
Returns the section number that a spectel is in.
QString toString()
Returns the QString representation of the SpectralDefinition1D.
bool m_ascendingWavelengths
Do the wavelengths in a given section ascend? Used to determine sections.
QList< QList< Spectel > * > * m_spectelList
Stores each center wavelength and width.
contains calibration info for spectral smile correction (center wavelengths and widths for the whole ...
Spectel findSpectelByWavelength(double wavelength, int sectionNumber) const
Finds the Spectel with the closest center wavelength (in the given sectionNumber) to the input wavele...
Spectel findSpectel(const int sample, const int line, const int band) const
Get the Spectel from this SpectralDefinition at a (s,l,b).
virtual ~SpectralDefinition1D()
destructor
Stores information about a "Spectral pixel" or spectel.
int m_numSections
The number of different sections of the Spectral Definition.
A Spectral definition that includes wavelength and center values for each (line, sample) coordinate...
virtual int sectionCount() const
Returns the number of sections in this Spectral Definition.
SpectralDefinition1D()
construct an empty 1D SpectralDef