File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
1 #ifndef GainLineDrift_h
2 #define GainLineDrift_h
17 #include "HiCalTypes.h"
18 #include "HiCalUtil.h"
19 #include "HiCalConf.h"
23 #include "IException.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.
QString Name() const
Returns the name of this property.
QString ToString(const T &value)
Helper function to convert values to strings.
Module manages HiRISE calibration vectors from various sources.
Computes a gain correction for each line (Zg Module)
HiVector _data
Data vector.
HiVector loadCsv(const QString &csvBase, const HiCalConf &conf, const DbProfile &prof, const int &elements=0)
Provide generic loading of CSV file for all modules.
virtual ~GainLineDrift()
Destructor.
Compute HiRISE line times.
int ToInteger(const T &value)
Helper function to convert values to Integers.
A DbProfile is a container for access parameters to a database.
TNT::Array1D< double > HiVector
1-D Buffer
double ToDouble(const T &value)
Helper function to convert values to doubles.
int CpmmToCcd(int cpmm)
Convert HiRISE Cpmm number to Ccd number.
This is free and unencumbered software released into the public domain.