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. More... | |
MocLabels (const QString &file) | |
Construct MocLabels object using the file name. More... | |
~MocLabels () | |
Empty destructor. More... | |
bool | NarrowAngle () const |
Indicates whether the camera was narrow angle. More... | |
bool | WideAngle () const |
Indicates whether the camera was wide angle. More... | |
bool | WideAngleRed () const |
Indicates whether the camera was red wide angle. More... | |
bool | WideAngleBlue () const |
Indicates whether the camera was blue wide angle. More... | |
int | CrosstrackSumming () const |
Returns value for CrosstrackSumming from the instrument group. More... | |
int | DowntrackSumming () const |
Returns value for DowntrackSumming from the instrument group. More... | |
int | FirstLineSample () const |
Returns value for FirstLineSample from the instrument group. More... | |
double | FocalPlaneTemperature () const |
Returns value for FocalPlaneTemperature from the instrument group. More... | |
double | LineRate () const |
Returns the value for the true line rate. More... | |
double | ExposureDuration () const |
Returns the value for LineExposureDuration from the instrument group. More... | |
QString | StartTime () const |
Returns the value for StartTime from the instrument group. More... | |
int | Detectors () const |
Returns 2048 if narrow angle and 3456 if wide angle. More... | |
int | StartDetector (int sample) const |
Converts from sample to starting detector. More... | |
int | EndDetector (int sample) const |
Converts from sample to ending detector. More... | |
double | Sample (int detector) const |
Converts from detector to sample. More... | |
double | EphemerisTime (double line) const |
Returns the ephemeris time at the given line. More... | |
double | Gain (int line=1) |
Returns the true gain at a given line. More... | |
double | Offset (int line=1) |
Returns the offset at the given line. More... | |
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::MocWideAngleCamera::MocWideAngleCamera().
|
inline |
Returns 2048 if narrow angle and 3456 if wide angle.
|
inline |
Returns value for DowntrackSumming from the instrument group.
Referenced by Isis::MocWideAngleCamera::MocWideAngleCamera().
int Isis::MocLabels::EndDetector | ( | int | sample | ) | const |
Converts from sample to ending detector.
sample | Sample to be converted |
References _FILEINFO_.
double Isis::MocLabels::EphemerisTime | ( | double | line | ) | const |
Returns the ephemeris time at the given line.
line | Line to evaluate |
|
inline |
Returns the value for LineExposureDuration from the instrument group.
|
inline |
Returns value for FirstLineSample from the instrument group.
Referenced by Isis::MocWideAngleCamera::MocWideAngleCamera().
|
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 |
|
inline |
Returns the value for the true line rate.
This is calculated by dividing the product of LineExposureDuration and the DowntrackSumming by 1000.
Referenced by Isis::MocWideAngleCamera::MocWideAngleCamera().
|
inline |
Indicates whether the camera was narrow angle.
double Isis::MocLabels::Offset | ( | int | line = 1 | ) |
Returns the offset at the given line.
line | Line to evaluate |
double Isis::MocLabels::Sample | ( | int | detector | ) | const |
Converts from detector to sample.
detector | Detector to be converted |
References _FILEINFO_.
int Isis::MocLabels::StartDetector | ( | int | sample | ) | const |
Converts from sample to starting detector.
sample | Sample to be converted |
References _FILEINFO_.
|
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.
Referenced by Isis::MocWideAngleCamera::MocWideAngleCamera().