1 #ifndef GainTemperature_h 2 #define GainTemperature_h 79 void init(
const HiCalConf &conf) {
86 _fpaFactor = factor[0];
91 double fpa_py_temp =
ToDouble(prof(
"FpaPositiveYTemperature"));
92 double fpa_my_temp =
ToDouble(prof(
"FpaNegativeYTemperature"));
95 double FPA_temp = (fpa_py_temp+fpa_my_temp) / 2.0;
96 double _baseT = 1.0 - (_fpaFactor * (FPA_temp - _refTemp));
HiVector _data
Data vector.
HiHistory _history
Hierarchial component history.
HiVector loadCsv(const QString &csvBase, const HiCalConf &conf, const DbProfile &prof, const int &elements=0)
Provide generic loading of CSV file for all modules.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
double toDouble(const QString &string)
Global function to convert from a string to a double.
A DbProfile is a container for access parameters to a database.
int ToInteger(const T &value)
Helper function to convert values to Integers.
GaingTemperature Module - Applies temperature-dependant gain correction (column)
virtual ~GainTemperature()
Destructor.
Module manages HiRISE calibration vectors from various sources.
double ToDouble(const T &value)
Helper function to convert values to doubles.
Namespace for ISIS/Bullet specific routines.
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.
QString Name() const
Returns the name of this property.
QString ToString(const T &value)
Helper function to convert values to strings.
TNT::Array1D< double > HiVector
1-D Buffer