Loading [MathJax]/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
SpectralDefinition1D.h
1 #ifndef SpectralDefinition1D_h
2 #define SpectralDefinition1D_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include <vector>
10 
11 #include "SpectralDefinition.h"
12 #include "Spectel.h"
13 #include "FileName.h"
14 
15 template<typename T> class QList;
16 
17 namespace Isis {
18 
36  public:
37  SpectralDefinition1D(FileName smileDefFilename);
39  virtual ~SpectralDefinition1D();
40 
41  Spectel findSpectel(const int sample, const int line, const int band) const;
42  Spectel findSpectel(const Spectel &inSpectel, const int sectionNumber) const;
43  Spectel findSpectelByWavelength(double wavelength, int sectionNumber) const;
44 
45  virtual int sectionCount() const;
46  int sectionNumber(int s, int l, int b) const;
47 
48  QString toString();
49 
50  private:
51  // the outer list is the section #, inside is the band
58  };
59 }
60 
61 #endif
Isis::SpectralDefinition1D::m_ascendingWavelengths
bool m_ascendingWavelengths
Do the wavelengths in a given section ascend? Used to determine sections.
Definition: SpectralDefinition1D.h:57
Isis::Spectel
Stores information about a "Spectral pixel" or spectel.
Definition: Spectel.h:26
QList
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Isis::SpectralDefinition1D::sectionCount
virtual int sectionCount() const
Returns the number of sections in this Spectral Definition.
Definition: SpectralDefinition1D.cpp:123
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
Isis::SpectralDefinition1D::m_numSections
int m_numSections
The number of different sections of the Spectral Definition.
Definition: SpectralDefinition1D.h:55
Isis::SpectralDefinition1D::~SpectralDefinition1D
virtual ~SpectralDefinition1D()
destructor
Definition: SpectralDefinition1D.cpp:154
Isis::SpectralDefinition1D::findSpectelByWavelength
Spectel findSpectelByWavelength(double wavelength, int sectionNumber) const
Finds the Spectel with the closest center wavelength (in the given sectionNumber) to the input wavele...
Definition: SpectralDefinition1D.cpp:226
Isis::SpectralDefinition1D::toString
QString toString()
Returns the QString representation of the SpectralDefinition1D.
Definition: SpectralDefinition1D.cpp:99
Isis::SpectralDefinition
contains calibration info for spectral smile correction (center wavelengths and widths for the whole ...
Definition: SpectralDefinition.h:34
Isis::SpectralDefinition1D::sectionNumber
int sectionNumber(int s, int l, int b) const
Returns the section number that a spectel is in.
Definition: SpectralDefinition1D.cpp:137
Isis::SpectralDefinition1D
A Spectral definition that includes wavelength and center values for each (line, sample) coordinate.
Definition: SpectralDefinition1D.h:35
Isis::SpectralDefinition1D::SpectralDefinition1D
SpectralDefinition1D()
construct an empty 1D SpectralDef
Definition: SpectralDefinition1D.cpp:149
Isis::SpectralDefinition1D::m_spectelList
QList< QList< Spectel > * > * m_spectelList
Stores each center wavelength and width.
Definition: SpectralDefinition1D.h:53
Isis::SpectralDefinition1D::findSpectel
Spectel findSpectel(const int sample, const int line, const int band) const
Get the Spectel from this SpectralDefinition at a (s,l,b).
Definition: SpectralDefinition1D.cpp:173
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/13/2023 15:17:18