106 return p_crosstrackSumming;
113 return p_downtrackSumming;
120 return p_startingSample;
128 return p_focalPlaneTemp;
137 return p_trueLineRate;
145 return p_exposureDuration;
159 return p_mocNA ? 2048 : 3456;
163 double Sample(
int detector)
const;
165 double Gain(
int line = 1);
166 double Offset(
int line = 1);
169 void Init(
Cube &cube);
170 void ReadLabels(
Cube &cube);
171 void ValidateLabels();
174 int p_crosstrackSumming;
175 int p_downtrackSumming;
176 int p_startingSample;
178 double p_exposureDuration;
179 double p_trueLineRate;
180 double p_focalPlaneTemp;
184 QString p_instrumentId;
186 QString p_clockCount;
187 QString p_gainModeId;
190 QString p_dataQuality;
195 std::map<QString, double> p_gainMapNA;
196 std::map<QString, double> p_gainMapWA;
202 int p_startDetector[3456];
203 int p_endDetector[3456];
204 double p_sample[3456];
205 void InitDetectorMaps();
211 inline bool operator<(
const WAGO &w)
const {
214 inline bool operator==(
const WAGO &w)
const {
218 std::vector<WAGO> p_wagos;
int CrosstrackSumming() const
Returns value for CrosstrackSumming from the instrument group.
Definition: MocLabels.h:105
int FirstLineSample() const
Returns value for FirstLineSample from the instrument group.
Definition: MocLabels.h:119
int DowntrackSumming() const
Returns value for DowntrackSumming from the instrument group.
Definition: MocLabels.h:112
bool NarrowAngle() const
Indicates whether the camera was narrow angle.
Definition: MocLabels.h:74
int EndDetector(int sample) const
Converts from sample to ending detector.
Definition: MocLabels.cpp:295
bool WideAngleBlue() const
Indicates whether the camera was blue wide angle.
Definition: MocLabels.h:97
int Detectors() const
Returns 2048 if narrow angle and 3456 if wide angle.
Definition: MocLabels.h:158
double EphemerisTime(double line) const
Returns the ephemeris time at the given line.
Definition: MocLabels.cpp:366
double LineRate() const
Returns the value for the true line rate.
Definition: MocLabels.h:136
QString StartTime() const
Returns the value for StartTime from the instrument group.
Definition: MocLabels.h:151
double FocalPlaneTemperature() const
Returns value for FocalPlaneTemperature from the instrument group.
Definition: MocLabels.h:127
double Offset(int line=1)
Returns the offset at the given line.
Definition: MocLabels.cpp:394
bool WideAngleRed() const
Indicates whether the camera was red wide angle.
Definition: MocLabels.h:89
~MocLabels()
Empty destructor.
Definition: MocLabels.h:68
int StartDetector(int sample) const
Converts from sample to starting detector.
Definition: MocLabels.cpp:283
double Gain(int line=1)
Returns the true gain at a given line.
Definition: MocLabels.cpp:375
MocLabels(Cube &cube)
Construct MocLabels object using a Pvl object.
Definition: MocLabels.cpp:30
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Read values from MOC labels.
Definition: MocLabels.h:63
bool WideAngle() const
Indicates whether the camera was wide angle.
Definition: MocLabels.h:81
double Sample(int detector) const
Converts from detector to sample.
Definition: MocLabels.cpp:307
IO Handler for Isis Cubes.
Definition: Cube.h:170
double ExposureDuration() const
Returns the value for LineExposureDuration from the instrument group.
Definition: MocLabels.h:144