|
Isis Developer Reference
|
Go to the documentation of this file.
83 class HiCalConf :
public DbAccess {
85 typedef enum { Matrix, Scalar, Keyword } CalType;
86 typedef std::vector<QString> ValueList;
91 HiCalConf(Pvl &label);
92 HiCalConf(Pvl &label,
const QString &conf);
95 virtual ~HiCalConf () { }
97 void setLabel(Pvl &label);
98 PvlKeyword &getKey(
const QString &key,
const QString &group =
"");
100 QString filepath(
const QString &fname)
const;
101 void setConf(
const QString &conf);
102 void selectProfile(
const QString &profile =
"");
104 QString getProfileName()
const;
105 QString getMatrixSource(
const QString &name)
const;
106 QString getMatrixSource(
const QString &name,
107 const DbProfile &matconf)
const;
108 HiVector getMatrix(
const QString &name,
int expected_size = 0)
const;
109 HiVector getMatrix(
const QString &name,
const DbProfile &profile,
110 int expected_size = 0)
const;
111 HiVector getScalar(
const QString &name,
const DbProfile &profile,
112 int expected_size)
const;
113 int getMatrixBand()
const;
114 int getMatrixBand(
const DbProfile &p)
const;
116 double sunDistanceAU(Cube *cube);
118 DbProfile getMatrixProfile(
const QString &profile =
"")
const;
119 ValueList getList(
const DbProfile &profile,
const QString &key)
const;
120 QString resolve(
const QString &composite,
121 const DbProfile &matconf)
const;
124 static bool _naifLoaded;
132 void init(Pvl &label);
133 void loadNaifTiming();
134 DbProfile getLabelProfile(
const DbProfile &profile)
const;
135 int getChannelIndex(
const int &ccd,
const int &channel)
const;
136 DbProfile makeParameters(Pvl &label)
const;
137 DbProfile makeParameters(
const DbProfile &profile)
const;
138 QString makePattern(
const QString &str)
const;
139 QString parser(
const QString &s,
const ValueList &options,
140 const DbProfile &prof )
const;
QString ToString(const T &value)
Helper function to convert values to strings.
Definition: HiCalUtil.h:246
File name manipulation and expansion.
Definition: FileName.h:100
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Definition: NaifStatus.cpp:28
@ Traverse
Search child objects.
Definition: PvlObject.h:158
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
int ToInteger(const T &value)
Helper function to convert values to Integers.
Definition: HiCalUtil.h:222
TNT::Array1D< double > HiVector
1-D Buffer
Definition: HiCalTypes.h:27
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:95
double ToDouble(const T &value)
Helper function to convert values to doubles.
Definition: HiCalUtil.h:234
Namespace for the standard library.
int CpmmToCcd(int cpmm)
Convert HiRISE Cpmm number to Ccd number.
Definition: HiCalUtil.h:71
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126
QString CcdToFilter(int ccd)
Convert HiRISE Ccd number to string filter name.
Definition: HiCalUtil.h:86
@ Real
Definition: PixelType.h:35