10#include "CissLabels.h"
13#include "SpecialPixel.h"
14#include "IException.h"
50 catch(IException &e) {
52 string msg =
"Labels do not appear contain a valid Cassini ISS instrument";
53 throw IException(IException::Unknown, msg, _FILEINFO_);
67 PvlGroup &inst = lab.findGroup(
"Instrument", Pvl::Traverse);
68 p_ABflag = (QString) inst[
"AntiBloomingStateFlag"];
90 PvlGroup &arch = lab.findGroup(
"Archive", Pvl::Traverse);
93 PvlGroup &bandbin = lab.findGroup(
"BandBin", Pvl::Traverse);
94 IString filter = (QString) bandbin[
"FilterName"];
95 p_filter.push_back(filter.Token(
"/").ToQt());
135 else throw IException(IException::Unknown,
"Labels have invalid filter 1 name. Cannot get filter 1 index.", _FILEINFO_);
155 else throw IException(IException::Unknown,
"Labels have invalid filter 2 name. Cannot get filter 2 index.", _FILEINFO_);
QString p_readoutCycleIndex
Value of the PDS keyword ReadoutCycleIndex in the cube's labels.
QString p_delayedReadoutFlag
Value of the PDS keyword DelayedReadoutFlag in the cube's labels.
double p_frontOpticsTemp
Value of the PDS keyword OpticsTemperature[0] in the cube's labels.
QString p_shutterModeId
Value of the PDS keyword ShutterModeId in the cube's labels.
QString p_dataConversionType
Value of the PDS keyword DataConversionType in the cube's labels.
QString p_compressionRatio
Value of the PDS keyword CompressionRatio in the cube's labels.
double p_instrumentDataRate
Value of the PDS keyword ImageTime in the cube's labels.
QString p_targetName
Value of the PDS keyword TargetName in the cube's labels.
QString p_shutterStateId
Value of the PDS keyword ShutterState in the cube's labels.
bool p_cissNA
Indicates whether camera is narrow-angle.
bool p_antiblooming
Indicates whether anti-blooming state flag on.
int p_gainState
Value of the PDS keyword GainState in the cube's labels.
QString p_instrumentModeId
Value of the PDS keyword InstrumentModeId in the cube's labels.
double p_biasStripMean
Value of the PDS keyword BiasStripMean in the cube's labels.
std::vector< QString > p_filter
Two-element array of optical filters used for this image.
QString p_ABflag
Value of the PDS keyword AntiBloomingFlag in the cube's labels.
double p_exposureDuration
Value of the PDS keyword ExposureDuration in the cube's labels.
void ReadLabels(Pvl &lab)
Reads the Pvl Labels.
QString p_flightSoftwareVersion
Value of the PDS keyword FlightSoftwareVersion in the cube's labels.
QString p_instrumentId
Value of the PDS keyword InstrumentId in the cube's labels.
QString p_imageTime
Value of the PDS Keyword ImageTime in the cube's labels.
CissLabels(Pvl &lab)
Constructs a CissLabels object from an Isis::Pvl object.
double p_imageNumber
Value of the PDS keyword ImageNumber in the cube's labels.
int p_gainModeId
Value of the PDS keyword GainModeId in the cube's labels.
QString p_compressionType
Value of the PDS keyword CompressionType in the cube's labels.
std::vector< int > p_filterIndex
Two-element array of filter indices corresponding to optical filters.
int p_summingMode
Value of the PDS keyword SummingMode in the cube's labels.
void ComputeImgProperties()
Computes values of non-keyword image properties.
int p_readoutOrder
Value of the PDS keyword ReadoutOrder in the cube's labels.
void Init(Pvl &lab)
General initializer.
This is free and unencumbered software released into the public domain.
Namespace for the standard library.