Isis 3 Programmer Reference
|
contains calibration info for spectral smile correction (center wavelengths and widths for the whole nxn chip) More...
#include <SpectralDefinition.h>
Public Member Functions | |
SpectralDefinition () | |
Constructs an empty SpectralDefinition object. More... | |
virtual | ~SpectralDefinition () |
default destructor More... | |
virtual Spectel | findSpectel (const int sample, const int line, const int band) const =0 |
virtual Spectel | findSpectel (const Spectel &inSpectel, int sectionNumber) const =0 |
virtual Spectel | findSpectelByWavelength (const double wavlength, int sectionNumber) const =0 |
virtual int | sampleCount () const |
Returns the number of samples in the calibration image. More... | |
virtual int | lineCount () const |
Returns the number of line in the calibration image. More... | |
virtual int | bandCount () const |
Returns the number of bands in the calibration image. More... | |
virtual int | sectionCount () const |
Returns the number of sections in the calibration image. More... | |
virtual int | sectionNumber (int s, int l, int b) const =0 |
Protected Attributes | |
int | m_ns |
Number of samples in input Cube. More... | |
int | m_nl |
Number of lines in input Cube. More... | |
int | m_nb |
Number of bands in input Cube. More... | |
int | m_numSections |
Number of sections of the chip/wavelength data. More... | |
Private Member Functions | |
void | init () |
Constructor initializer. More... | |
contains calibration info for spectral smile correction (center wavelengths and widths for the whole nxn chip)
Right now doens't do any calculations; just organizes contents of input and output smile definitions.
2015-06-09 Stuart Sides - Made pure virtual and added constness
2015-08-09 Kristin Berry - Moved implemention of getters to cpp.
Definition at line 52 of file SpectralDefinition.h.
Isis::SpectralDefinition::SpectralDefinition | ( | ) |
Constructs an empty SpectralDefinition object.
Definition at line 37 of file SpectralDefinition.cpp.
References init().
|
virtual |
default destructor
Definition at line 43 of file SpectralDefinition.cpp.
|
virtual |
Returns the number of bands in the calibration image.
Definition at line 66 of file SpectralDefinition.cpp.
References m_nb.
|
private |
Constructor initializer.
Definition at line 81 of file SpectralDefinition.cpp.
References m_nb, m_nl, m_ns, and m_numSections.
Referenced by SpectralDefinition().
|
virtual |
Returns the number of line in the calibration image.
Definition at line 58 of file SpectralDefinition.cpp.
References m_nl.
|
virtual |
Returns the number of samples in the calibration image.
Definition at line 50 of file SpectralDefinition.cpp.
References m_ns.
|
virtual |
Returns the number of sections in the calibration image.
Reimplemented in Isis::SpectralDefinition1D, and Isis::SpectralDefinition2D.
Definition at line 75 of file SpectralDefinition.cpp.
References m_numSections.
|
protected |
Number of bands in input Cube.
Definition at line 78 of file SpectralDefinition.h.
Referenced by bandCount(), init(), Isis::SpectralDefinition1D::SpectralDefinition1D(), and Isis::SpectralDefinition2D::SpectralDefinition2D().
|
protected |
Number of lines in input Cube.
Definition at line 75 of file SpectralDefinition.h.
Referenced by init(), lineCount(), Isis::SpectralDefinition1D::SpectralDefinition1D(), and Isis::SpectralDefinition2D::SpectralDefinition2D().
|
protected |
Number of samples in input Cube.
Definition at line 72 of file SpectralDefinition.h.
Referenced by init(), sampleCount(), Isis::SpectralDefinition1D::SpectralDefinition1D(), and Isis::SpectralDefinition2D::SpectralDefinition2D().
|
protected |
Number of sections of the chip/wavelength data.
Definition at line 81 of file SpectralDefinition.h.
Referenced by init(), and sectionCount().