1#ifndef SpectralDefinition1D_h
2#define SpectralDefinition1D_h
11#include "SpectralDefinition.h"
15template<
typename T>
class QList;
File name manipulation and expansion.
Stores information about a "Spectral pixel" or spectel.
A Spectral definition that includes wavelength and center values for each (line, sample) coordinate.
SpectralDefinition1D()
construct an empty 1D SpectralDef
virtual ~SpectralDefinition1D()
destructor
Spectel findSpectel(const int sample, const int line, const int band) const
Get the Spectel from this SpectralDefinition at a (s,l,b).
Spectel findSpectelByWavelength(double wavelength, int sectionNumber) const
Finds the Spectel with the closest center wavelength (in the given sectionNumber) to the input wavele...
virtual int sectionCount() const
Returns the number of sections in this Spectral Definition.
QList< QList< Spectel > * > * m_spectelList
Stores each center wavelength and width.
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.
int m_numSections
The number of different sections of the Spectral Definition.
contains calibration info for spectral smile correction (center wavelengths and widths for the whole ...
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.