Isis Developer Reference
|
Computes units parameters for HiRISE data calibration (Ziof Module) More...
#include <GainUnitConversion.h>
Public Member Functions | |
GainUnitConversion () | |
GainUnitConversion (HiCalConf &conf, const QString &units, Cube *cube) | |
virtual | ~GainUnitConversion () |
Destructor. More... | |
QString | name () const |
Returns name of component. More... | |
QString | getcsvFile () const |
Returns expanded name of last CSV file loaded by loadCsv. More... | |
int | size () const |
Returns the size (number of elements) of data array. More... | |
virtual void | Process (const Module &c) |
Invokes the process method on the Module vector. More... | |
virtual void | Process (const HiVector &v) |
Default processing behavior makes a reference copy of data array. More... | |
HiVector | loadCsv (const QString &csvBase, const HiCalConf &conf, const DbProfile &prof, const int &elements=0) |
Provide generic loading of CSV file for all modules. More... | |
const HiVector & | ref () const |
Return data via a const reference. More... | |
double | operator() (int index) const |
Return individual element of the data vector. More... | |
const HiHistory & | History () const |
Return recorded history of events. More... | |
virtual void | record (PvlGroup &pvl, const QString keyname="ModuleHistory") const |
Record history in Pvl group object. More... | |
void | Dump (const QString &fname) const |
Dumps the component to a specified file. More... | |
Protected Types | |
enum | { DefaultWidth = 10, DefaultPrecision = 6 } |
Protected Member Functions | |
QString | formatDbl (const double &value) const |
Properly format values that could be special pixels. More... | |
virtual void | printOn (std::ostream &o) const |
Default printing of data in module. More... | |
Protected Attributes | |
QString | _name |
Name of component. More... | |
QString | _csvFile |
Fully expanded name of CSV file if present. More... | |
HiVector | _data |
Data vector. More... | |
HiHistory | _history |
Hierarchial component history. More... | |
int | _fmtWidth |
Default field with of double. More... | |
int | _fmtPrecision |
Default field with of double. More... | |
Computes units parameters for HiRISE data calibration (Ziof Module)
This class computes the HiRISE parameters necessary to derive the user selected calibration units of the image data.
|
inline |
|
inline |
|
inlinevirtual |
Destructor.
|
inlineinherited |
Dumps the component to a specified file.
fname | Name of file to dump contents to |
References _FILEINFO_, 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 |
References Isis::Module::_fmtPrecision, Isis::Module::_fmtWidth, Isis::IsSpecial(), and Isis::PixelToString().
Referenced by Isis::Module::printOn().
|
inlineinherited |
Returns expanded name of last CSV file loaded by loadCsv.
References Isis::Module::_csvFile.
|
inlineinherited |
Return recorded history of events.
References Isis::Module::_history.
|
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 |
References Isis::Module::_csvFile, Isis::Module::_history, Isis::LoadCSV::filename(), Isis::LoadCSV::getVector(), Isis::LoadCSV::History(), and Isis::LoadCSV::validateSize().
|
inlineinherited |
Returns name of component.
References Isis::Module::_name.
|
inlineinherited |
Return individual element of the data vector.
References Isis::Module::_data.
|
inlineprotectedvirtualinherited |
Default printing of data in module.
References Isis::Module::_data, Isis::Module::_history, and Isis::Module::formatDbl().
|
inlinevirtualinherited |
Default processing behavior makes a reference copy of data array.
Reimplemented in Isis::SplineFill, and Isis::LowPassFilter.
References Isis::Module::_data.
|
inlinevirtualinherited |
Invokes the process method on the Module vector.
References Isis::Module::ref().
|
inlinevirtualinherited |
Record history in Pvl group object.
References Isis::Module::_history, and Isis::HiHistory::makekey().
|
inlineinherited |
Return data via a const reference.
References Isis::Module::_data.
Referenced by Isis::ZeroBufferFit::guess(), Isis::LowPassFilter::LowPassFilter(), Isis::Module::Process(), and Isis::SplineFill::SplineFill().
|
inlineinherited |
Returns the size (number of elements) of data array.
References Isis::Module::_data.
|
protectedinherited |
Fully expanded name of CSV file if present.
Referenced by Isis::Module::getcsvFile(), and Isis::Module::loadCsv().
|
protectedinherited |
|
protectedinherited |
Default field with of double.
Referenced by Isis::Module::formatDbl().
|
protectedinherited |
Default field with of double.
Referenced by Isis::Module::formatDbl().
|
protectedinherited |
Hierarchial component history.
Referenced by Isis::ZeroBufferFit::guess(), Isis::Module::History(), Isis::Module::loadCsv(), Isis::LowPassFilter::LowPassFilter(), Isis::ZeroBufferFit::Normalize(), Isis::Module::printOn(), Isis::LowPassFilter::Process(), Isis::SplineFill::Process(), Isis::Module::record(), Isis::ZeroBufferFit::Solve(), Isis::SplineFill::SplineFill(), and Isis::ZeroBufferFit::ZeroBufferFit().
|
protectedinherited |
Name of component.
Referenced by Isis::Module::name().