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);
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];
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.
void InitDetectorMaps()
Creates lookup table from sample to detectors and vice versa.
int FirstLineSample() const
Returns value for FirstLineSample from the instrument group.
int DowntrackSumming() const
Returns value for DowntrackSumming from the instrument group.
File name manipulation and expansion.
void InitGainMaps()
Creates a lookup of gain modes to gain values.
bool NarrowAngle() const
Indicates whether the camera was narrow angle.
void Init(Cube &cube)
General initializer.
int EndDetector(int sample) const
Converts from sample to ending detector.
bool WideAngleBlue() const
Indicates whether the camera was blue wide angle.
int Detectors() const
Returns 2048 if narrow angle and 3456 if wide angle.
double EphemerisTime(double line) const
Returns the ephemeris time at the given line.
double LineRate() const
Returns the value for the true line rate.
QString StartTime() const
Returns the value for StartTime from the instrument group.
void Compute()
Computes some constants.
double FocalPlaneTemperature() const
Returns value for FocalPlaneTemperature from the instrument group.
void ReadLabels(Cube &cube)
Reads required keywords from the labels.
double Offset(int line=1)
Returns the offset at the given line.
void InitWago()
Reads the wide-angle gain/offset table and internalizes.
bool WideAngleRed() const
Indicates whether the camera was red wide angle.
~MocLabels()
Empty destructor.
int StartDetector(int sample) const
Converts from sample to starting detector.
double Gain(int line=1)
Returns the true gain at a given line.
void ValidateLabels()
Verifies that the labels are valid.
MocLabels(Cube &cube)
Construct MocLabels object using a Pvl object.
Namespace for ISIS/Bullet specific routines.
Read values from MOC labels.
bool WideAngle() const
Indicates whether the camera was wide angle.
double Sample(int detector) const
Converts from detector to sample.
IO Handler for Isis Cubes.
double ExposureDuration() const
Returns the value for LineExposureDuration from the instrument group.