96 class HiCalConf :
public DbAccess {
98 typedef enum { Matrix, Scalar, Keyword } CalType;
99 typedef std::vector<QString> ValueList;
104 HiCalConf(Pvl &label);
105 HiCalConf(Pvl &label,
const QString &conf);
108 virtual ~HiCalConf () { }
110 void setLabel(Pvl &label);
111 PvlKeyword &getKey(
const QString &key,
const QString &group =
"");
113 QString filepath(
const QString &fname)
const;
114 void setConf(
const QString &conf);
115 void selectProfile(
const QString &profile =
"");
117 QString getProfileName()
const;
118 QString getMatrixSource(
const QString &name)
const;
119 QString getMatrixSource(
const QString &name,
120 const DbProfile &matconf)
const;
121 HiVector getMatrix(
const QString &name,
int expected_size = 0)
const;
122 HiVector getMatrix(
const QString &name,
const DbProfile &profile,
123 int expected_size = 0)
const;
124 HiVector getScalar(
const QString &name,
const DbProfile &profile,
125 int expected_size)
const;
126 int getMatrixBand()
const;
127 int getMatrixBand(
const DbProfile &p)
const;
129 double sunDistanceAU();
131 DbProfile getMatrixProfile(
const QString &profile =
"")
const;
132 ValueList getList(
const DbProfile &profile,
const QString &key)
const;
133 QString resolve(
const QString &composite,
134 const DbProfile &matconf)
const;
137 static bool _naifLoaded;
145 void init(Pvl &label);
146 void loadNaifTiming();
147 DbProfile getLabelProfile(
const DbProfile &profile)
const;
148 int getChannelIndex(
const int &ccd,
const int &channel)
const;
149 DbProfile makeParameters(Pvl &label)
const;
150 DbProfile makeParameters(
const DbProfile &profile)
const;
151 QString makePattern(
const QString &str)
const;
152 QString parser(
const QString &s,
const ValueList &options,
153 const DbProfile &prof )
const;
Namespace for ISIS/Bullet specific routines.
TNT::Array1D< double > HiVector
1-D Buffer