Isis Developer Reference
|
Read values from MOC labels. More...
#include <MocLabels.h>
Public Member Functions | |
MocLabels (Cube &cube) | |
Construct MocLabels object using a Pvl object. | |
MocLabels (const QString &file) | |
Construct MocLabels object using the file name. | |
~MocLabels () | |
Empty destructor. | |
bool | NarrowAngle () const |
Indicates whether the camera was narrow angle. | |
bool | WideAngle () const |
Indicates whether the camera was wide angle. | |
bool | WideAngleRed () const |
Indicates whether the camera was red wide angle. | |
bool | WideAngleBlue () const |
Indicates whether the camera was blue wide angle. | |
int | CrosstrackSumming () const |
Returns value for CrosstrackSumming from the instrument group. | |
int | DowntrackSumming () const |
Returns value for DowntrackSumming from the instrument group. | |
int | FirstLineSample () const |
Returns value for FirstLineSample from the instrument group. | |
double | FocalPlaneTemperature () const |
Returns value for FocalPlaneTemperature from the instrument group. | |
double | LineRate () const |
Returns the value for the true line rate. | |
double | ExposureDuration () const |
Returns the value for LineExposureDuration from the instrument group. | |
QString | StartTime () const |
Returns the value for StartTime from the instrument group. | |
int | Detectors () const |
Returns 2048 if narrow angle and 3456 if wide angle. | |
int | StartDetector (int sample) const |
Converts from sample to starting detector. | |
int | EndDetector (int sample) const |
Converts from sample to ending detector. | |
double | Sample (int detector) const |
Converts from detector to sample. | |
double | EphemerisTime (double line) const |
Returns the ephemeris time at the given line. | |
double | Gain (int line=1) |
Returns the true gain at a given line. | |
double | Offset (int line=1) |
Returns the offset at the given line. | |
Read values from MOC labels.
Isis::MocLabels::MocLabels | ( | const QString & | file | ) |
Construct MocLabels object using the file name.
|
inline |
Empty destructor.
|
inline |
Returns value for CrosstrackSumming from the instrument group.
Referenced by Isis::MocWideAngleDetectorMap::SetDetector(), and Isis::MocWideAngleDetectorMap::SetParent().
|
inline |
Returns 2048 if narrow angle and 3456 if wide angle.
Referenced by Sample(), and Isis::MocWideAngleDetectorMap::SetDetector().
|
inline |
Returns value for DowntrackSumming from the instrument group.
int Isis::MocLabels::EndDetector | ( | int | sample | ) | const |
Converts from sample to ending detector.
sample | Sample to be converted |
References _FILEINFO_, and Isis::IException::Unknown.
Referenced by Isis::MocWideAngleDetectorMap::SetParent().
double Isis::MocLabels::EphemerisTime | ( | double | line | ) | const |
|
inline |
Returns the value for LineExposureDuration from the instrument group.
|
inline |
Returns value for FirstLineSample from the instrument group.
|
inline |
Returns value for FocalPlaneTemperature from the instrument group.
double Isis::MocLabels::Gain | ( | int | line = 1 | ) |
Returns the true gain at a given line.
line | Line to evaluate |
References EphemerisTime(), and NarrowAngle().
|
inline |
Returns the value for the true line rate.
This is calculated by dividing the product of LineExposureDuration and the DowntrackSumming by 1000.
|
inline |
double Isis::MocLabels::Offset | ( | int | line = 1 | ) |
Returns the offset at the given line.
line | Line to evaluate |
References EphemerisTime(), and NarrowAngle().
double Isis::MocLabels::Sample | ( | int | detector | ) | const |
Converts from detector to sample.
detector | Detector to be converted |
References _FILEINFO_, Detectors(), and Isis::IException::Unknown.
Referenced by Isis::MocWideAngleDetectorMap::SetDetector().
int Isis::MocLabels::StartDetector | ( | int | sample | ) | const |
Converts from sample to starting detector.
sample | Sample to be converted |
References _FILEINFO_, and Isis::IException::Unknown.
Referenced by Isis::MocWideAngleDetectorMap::SetParent().
|
inline |
Returns the value for StartTime from the instrument group.
|
inline |
Indicates whether the camera was wide angle.
|
inline |
Indicates whether the camera was blue wide angle.
|
inline |
Indicates whether the camera was red wide angle.