An official website of the United States government
Here’s how you know
Official websites use .gov
A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS
A
lock
( ) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
Isis 3 Programmer Reference
|
Computes a gain correction for each line (Zg Module) More...
#include <GainLineDrift.h>
Public Member Functions | |
GainLineDrift (const HiCalConf &conf) | |
virtual | ~GainLineDrift () |
Destructor. | |
QString | name () const |
Returns name of component. | |
QString | getcsvFile () const |
Returns expanded name of last CSV file loaded by loadCsv. | |
int | size () const |
Returns the size (number of elements) of data array. | |
virtual void | Process (const Module &c) |
Invokes the process method on the Module vector. | |
virtual void | Process (const HiVector &v) |
Default processing behavior makes a reference copy of data array. | |
HiVector | loadCsv (const QString &csvBase, const HiCalConf &conf, const DbProfile &prof, const int &elements=0) |
Provide generic loading of CSV file for all modules. | |
const HiVector & | ref () const |
Return data via a const reference. | |
double | operator() (int index) const |
Return individual element of the data vector. | |
const HiHistory & | History () const |
Return recorded history of events. | |
virtual void | record (PvlGroup &pvl, const QString keyname="ModuleHistory") const |
Record history in Pvl group object. | |
void | Dump (const QString &fname) const |
Dumps the component to a specified file. | |
Protected Types | |
enum | { DefaultWidth = 10 , DefaultPrecision = 6 } |
Protected Member Functions | |
QString | formatDbl (const double &value) const |
Properly format values that could be special pixels. | |
virtual void | printOn (std::ostream &o) const |
Default printing of data in module. | |
Protected Attributes | |
QString | _name |
Name of component. | |
QString | _csvFile |
Fully expanded name of CSV file if present. | |
HiVector | _data |
Data vector. | |
HiHistory | _history |
Hierarchial component history. | |
int | _fmtWidth |
Default field with of double. | |
int | _fmtPrecision |
Default field with of double. | |
Private Member Functions | |
void | init (const HiCalConf &conf) |
Private Attributes | |
std::string | _gdfile |
int | _ccd |
int | _channel |
HiVector | _coefs |
Computes a gain correction for each line (Zg Module)
This class computes the HiRISE gain component correction for each line. Time dependant line drift correction also governed by parameters in config file and LineGainDrift coefficients matrix file.
Definition at line 40 of file GainLineDrift.h.
|
inline |
Definition at line 44 of file GainLineDrift.h.
|
inline |
Definition at line 45 of file GainLineDrift.h.
|
inlinevirtual |
Destructor.
Definition at line 50 of file GainLineDrift.h.
|
inlineinherited |
Dumps the component to a specified file.
fname | Name of file to dump contents to |
Definition at line 131 of file Module.h.
References Isis::FileName::expanded(), and Isis::IException::User.
|
inlineprotectedinherited |
Properly format values that could be special pixels.
This method applies ISIS special pixel value conventions to properly print pixel values.
[in] | (double) | value Input value to test for specialness and print as requested by caller |
[in] | (int) | width Width of field in which to print the value |
[in] | (int) | prec Precision used to format the value |
Definition at line 169 of file Module.h.
References _fmtPrecision, _fmtWidth, Isis::IsSpecial(), and Isis::PixelToString().
Referenced by printOn(), Isis::ZeroBufferFit::printOn(), Isis::ZeroBufferSmooth::printOn(), Isis::ZeroDark::printOn(), Isis::ZeroDarkRate::printOn(), and Isis::ZeroReverse::printOn().
|
inlineinherited |
|
inlineinherited |
Return recorded history of events.
Definition at line 116 of file Module.h.
References _history.
Referenced by Isis::ZeroBufferSmooth::init(), and Isis::ZeroReverse::init().
|
inlineprivate |
Definition at line 58 of file GainLineDrift.h.
|
inlineinherited |
Provide generic loading of CSV file for all modules.
This method provides generalized access to CSV files through the standardized format.
cvsBase | Name of base keyword for CSV file |
conf | Configuration parameters |
prof | Module profile parameters |
samples | Number of expect elements to be read from CSV file |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedvirtualinherited |
Default printing of data in module.
Reimplemented in Isis::ZeroBufferFit, Isis::ZeroBufferSmooth, Isis::ZeroDark, Isis::ZeroDarkRate, and Isis::ZeroReverse.
Definition at line 183 of file Module.h.
References _data, _history, and formatDbl().
|
inlinevirtualinherited |
Default processing behavior makes a reference copy of data array.
Reimplemented in Isis::LowPassFilter, and Isis::SplineFill.
Definition at line 81 of file Module.h.
References _data.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlineinherited |
Return data via a const reference.
Definition at line 111 of file Module.h.
References _data.
Referenced by Isis::ZeroBufferFit::guess(), Isis::ZeroBufferSmooth::init(), Isis::ZeroReverse::init(), and Process().
|
inlineinherited |
|
private |
Definition at line 54 of file GainLineDrift.h.
|
private |
Definition at line 55 of file GainLineDrift.h.
|
private |
Definition at line 56 of file GainLineDrift.h.
|
protectedinherited |
Fully expanded name of CSV file if present.
Definition at line 150 of file Module.h.
Referenced by getcsvFile(), and loadCsv().
|
protectedinherited |
Data vector.
Definition at line 151 of file Module.h.
Referenced by Isis::ZeroBufferSmooth::init(), Isis::ZeroReverse::init(), operator()(), printOn(), Isis::ZeroBufferSmooth::printOn(), Isis::ZeroDark::printOn(), Isis::ZeroDarkRate::printOn(), Isis::ZeroReverse::printOn(), Isis::LowPassFilter::Process(), Process(), ref(), and size().
|
protectedinherited |
|
protectedinherited |
Default field with of double.
Definition at line 153 of file Module.h.
Referenced by formatDbl(), Isis::ZeroBufferFit::printOn(), Isis::ZeroBufferSmooth::printOn(), Isis::ZeroDark::printOn(), Isis::ZeroDarkRate::printOn(), and Isis::ZeroReverse::printOn().
|
private |
Definition at line 53 of file GainLineDrift.h.
|
protectedinherited |
Hierarchial component history.
Definition at line 152 of file Module.h.
Referenced by Isis::GainUnitConversion::getTempDepGain(), Isis::ZeroBufferFit::guess(), History(), Isis::ZeroBufferSmooth::init(), Isis::ZeroReverse::init(), loadCsv(), Isis::ZeroBufferFit::Normalize(), printOn(), Isis::ZeroBufferFit::printOn(), Isis::ZeroBufferSmooth::printOn(), Isis::ZeroDark::printOn(), Isis::ZeroDarkRate::printOn(), Isis::ZeroReverse::printOn(), Isis::LowPassFilter::Process(), Isis::SplineFill::Process(), record(), Isis::ZeroBufferFit::Solve(), and Isis::ZeroBufferFit::ZeroBufferFit().
|
protectedinherited |