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;
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
TNT::Array1D< double > HiVector
1-D Buffer
Definition HiCalTypes.h:27