|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef GainTemperature_h
2 #define GainTemperature_h
65 void init(
const HiCalConf &conf) {
72 _fpaFactor = factor[0];
77 double fpa_py_temp =
ToDouble(prof(
"FpaPositiveYTemperature"));
78 double fpa_my_temp =
ToDouble(prof(
"FpaNegativeYTemperature"));
81 double FPA_temp = (fpa_py_temp+fpa_my_temp) / 2.0;
82 double _baseT = 1.0 - (_fpaFactor * (FPA_temp - _refTemp));
HiHistory _history
Hierarchial component history.
Definition: Module.h:152
GaingTemperature Module - Applies temperature-dependant gain correction (column)
Definition: GainTemperature.h:48
void clear()
Definition: HiCalTypes.h:65
QString Name() const
Returns the name of this property.
Definition: DbProfile.h:104
QString ToString(const T &value)
Helper function to convert values to strings.
Definition: HiCalUtil.h:246
Module manages HiRISE calibration vectors from various sources.
Definition: Module.h:39
T ConfKey(const DbProfile &conf, const QString &keyname, const T &defval, int index=0)
Find a keyword in a profile using default for non-existant keywords.
Definition: HiCalUtil.h:205
GainTemperature(const HiCalConf &conf)
Definition: GainTemperature.h:53
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
HiVector _data
Data vector.
Definition: Module.h:151
HiVector loadCsv(const QString &csvBase, const HiCalConf &conf, const DbProfile &prof, const int &elements=0)
Provide generic loading of CSV file for all modules.
Definition: Module.h:101
int ToInteger(const T &value)
Helper function to convert values to Integers.
Definition: HiCalUtil.h:222
virtual ~GainTemperature()
Destructor.
Definition: GainTemperature.h:58
GainTemperature()
Definition: GainTemperature.h:52
A DbProfile is a container for access parameters to a database.
Definition: DbProfile.h:51
TNT::Array1D< double > HiVector
1-D Buffer
Definition: HiCalTypes.h:27
void add(const QString &event)
Definition: HiCalTypes.h:55
double ToDouble(const T &value)
Helper function to convert values to doubles.
Definition: HiCalUtil.h:234
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16