|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef SpectralDefinition2D_h
2 #define SpectralDefinition2D_h
15 template<
typename T>
class QList;
int sectionNumber(int s, int l, int b) const
returns section number given (s,l,b)
Definition: SpectralDefinition2D.cpp:77
void ProcessCubeInPlace(const Functor &funct, bool threaded=true)
Definition: ProcessBySample.h:62
Stores information about a "Spectral pixel" or spectel.
Definition: Spectel.h:26
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
File name manipulation and expansion.
Definition: FileName.h:100
@ Unknown
A type of error that cannot be classified as any of the other error types.
Definition: IException.h:118
double centerWavelength() const
Gets central wavelength of spectel.
Definition: Spectel.cpp:95
QString toString()
Returns QString representation of SpectralDefinition2D.
Definition: SpectralDefinition2D.cpp:172
int m_nb
Number of bands in input Cube.
Definition: SpectralDefinition.h:60
double filterWidth() const
Gets wavelength width associated with spectel.
Definition: Spectel.cpp:107
void operator()(Buffer &in) const
Internal function used to help read-in a calibration cube.
Definition: SpectralDefinition2D.cpp:195
Spectel findSpectelByWavelength(const double wavelength, const int sectionNumber) const
Definition: SpectralDefinition2D.cpp:124
contains calibration info for spectral smile correction (center wavelengths and widths for the whole ...
Definition: SpectralDefinition.h:34
Buffer for reading and writing cube data.
Definition: Buffer.h:53
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
int lineCount() const
Definition: Cube.cpp:1734
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
~SpectralDefinition2D()
destructor
Definition: SpectralDefinition2D.cpp:96
SpectralDefinition2D(FileName smileDefFilename)
Construct a SpectralDefinition2D object using a filename.
Definition: SpectralDefinition2D.cpp:26
int m_nl
Number of lines in input Cube.
Definition: SpectralDefinition.h:57
void SetText(const QString &text)
Changes the value of the text string reported just before 0% processed.
Definition: Progress.cpp:61
const double NULL8
Definition: SpecialPixel.h:94
A Spectral definition that includes wavelength and center values for each (line, sample) coordinate.
Definition: SpectralDefinition2D.h:35
int sampleCount() const
Definition: Cube.cpp:1807
Isis::Progress * Progress()
This method returns a pointer to a Progress object.
Definition: Process.h:259
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis exception class.
Definition: IException.h:91
virtual int bandCount() const
Returns the number of virtual bands for the cube.
Definition: Cube.cpp:1410
QString toString() const
Returns a QString of the full file name including the file path, excluding the attributes with any Is...
Definition: FileName.cpp:515
int Band(const int index=0) const
Returns the band position associated with a shape buffer index.
Definition: Buffer.cpp:162
@ BandsFirst
Definition: ProcessByBrick.h:95
void Finalize()
Cleans up by closing cubes and freeing memory.
Definition: ProcessByBrick.cpp:679
int sample() const
Definition: Pixel.cpp:86
void SetProcessingDirection(ProcessingDirection direction)
Set the direction the data will be read, either all lines in a single band proceeding to the next ban...
Definition: ProcessByBrick.cpp:380
virtual int sectionCount() const
Returns the number of sections in the calibration image.
Definition: SpectralDefinition2D.cpp:71
int Sample(const int index=0) const
Returns the sample position associated with a shape buffer index.
Definition: Buffer.cpp:127
int m_ns
Number of samples in input Cube.
Definition: SpectralDefinition.h:54
Process cubes by sample.
Definition: ProcessBySample.h:37
Spectel findSpectel(const int sample, const int line, const int band) const
Get the Spectel at some sample, line, band (associated with your input/calibration file)
Definition: SpectralDefinition2D.cpp:113
Isis::Cube * SetInputCube(const QString ¶meter, int requirements=0)
Opens an input cube specified by the user and verifies requirements are met.
Definition: ProcessBySample.cpp:37
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126