Loading [MathJax]/jax/output/NativeMML/config.js
 |
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef GainLineDrift_h
2 #define GainLineDrift_h
58 void init(
const HiCalConf &conf) {
63 _channel =
ToInteger(prof(
"ChannelNumber"));
66 _coefs =
loadCsv(
"LineGainDrift", conf, prof, 4);
73 double linetime =
ToDouble(prof(
"ScanExposureDuration"));
78 for (
int i = 0 ; i < nlines ; i++ ) {
80 gainV[i] = _coefs[0] + (_coefs[1] * lt) +
81 _coefs[2] * exp(_coefs[3] * lt);
HiHistory _history
Hierarchial component history.
Definition: Module.h:152
void clear()
Definition: HiCalTypes.h:65
GainLineDrift()
Definition: GainLineDrift.h:44
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
Computes a gain correction for each line (Zg Module)
Definition: GainLineDrift.h:40
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
GainLineDrift(const HiCalConf &conf)
Definition: GainLineDrift.h:45
virtual ~GainLineDrift()
Destructor.
Definition: GainLineDrift.h:50
Compute HiRISE line times.
Definition: HiCalUtil.h:361
int ToInteger(const T &value)
Helper function to convert values to Integers.
Definition: HiCalUtil.h:222
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
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