93 return p_crosstrackSumming;
100 return p_downtrackSumming;
107 return p_startingSample;
115 return p_focalPlaneTemp;
124 return p_trueLineRate;
132 return p_exposureDuration;
146 return p_mocNA ? 2048 : 3456;
150 double Sample(
int detector)
const;
152 double Gain(
int line = 1);
153 double Offset(
int line = 1);
156 void Init(
Cube &cube);
157 void ReadLabels(
Cube &cube);
158 void ValidateLabels();
161 int p_crosstrackSumming;
162 int p_downtrackSumming;
163 int p_startingSample;
165 double p_exposureDuration;
166 double p_trueLineRate;
167 double p_focalPlaneTemp;
171 QString p_instrumentId;
173 QString p_clockCount;
174 QString p_gainModeId;
177 QString p_dataQuality;
182 std::map<QString, double> p_gainMapNA;
183 std::map<QString, double> p_gainMapWA;
189 int p_startDetector[3456];
190 int p_endDetector[3456];
191 double p_sample[3456];
192 void InitDetectorMaps();
198 inline bool operator<(
const WAGO &w)
const {
201 inline bool operator==(
const WAGO &w)
const {
205 std::vector<WAGO> p_wagos;
IO Handler for Isis Cubes.
Definition Cube.h:168
Read values from MOC labels.
Definition MocLabels.h:50
double ExposureDuration() const
Returns the value for LineExposureDuration from the instrument group.
Definition MocLabels.h:131
double Offset(int line=1)
Returns the offset at the given line.
Definition MocLabels.cpp:403
int CrosstrackSumming() const
Returns value for CrosstrackSumming from the instrument group.
Definition MocLabels.h:92
double FocalPlaneTemperature() const
Returns value for FocalPlaneTemperature from the instrument group.
Definition MocLabels.h:114
bool WideAngleBlue() const
Indicates whether the camera was blue wide angle.
Definition MocLabels.h:84
~MocLabels()
Empty destructor.
Definition MocLabels.h:55
int StartDetector(int sample) const
Converts from sample to starting detector.
Definition MocLabels.cpp:292
double EphemerisTime(double line) const
Returns the ephemeris time at the given line.
Definition MocLabels.cpp:375
bool NarrowAngle() const
Indicates whether the camera was narrow angle.
Definition MocLabels.h:61
MocLabels(Cube &cube)
Construct MocLabels object using a Pvl object.
Definition MocLabels.cpp:39
int FirstLineSample() const
Returns value for FirstLineSample from the instrument group.
Definition MocLabels.h:106
int Detectors() const
Returns 2048 if narrow angle and 3456 if wide angle.
Definition MocLabels.h:145
QString StartTime() const
Returns the value for StartTime from the instrument group.
Definition MocLabels.h:138
bool WideAngle() const
Indicates whether the camera was wide angle.
Definition MocLabels.h:68
double Sample(int detector) const
Converts from detector to sample.
Definition MocLabels.cpp:316
int DowntrackSumming() const
Returns value for DowntrackSumming from the instrument group.
Definition MocLabels.h:99
int EndDetector(int sample) const
Converts from sample to ending detector.
Definition MocLabels.cpp:304
double Gain(int line=1)
Returns the true gain at a given line.
Definition MocLabels.cpp:384
bool WideAngleRed() const
Indicates whether the camera was red wide angle.
Definition MocLabels.h:76
double LineRate() const
Returns the value for the true line rate.
Definition MocLabels.h:123
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16