Isis 3 Programmer Reference
|
Processes Reverse Clock calibration data (ZeroReverse Module) More...
#include <ZeroReverse.h>
Public Member Functions | |
ZeroReverse (HiCalData &cal, const HiCalConf &conf) | |
virtual | ~ZeroReverse () |
Destructor. More... | |
const Statistics & | Stats () const |
Return statistics for raw Reverse Clock buffer. More... | |
bool | wasTriggered () const |
Specifies if the input trigger conditions were met. 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... | |
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... | |
Private Member Functions | |
void | init (HiCalData &cal, const HiCalConf &conf) |
Initialize and compute data solution. More... | |
virtual void | printOn (std::ostream &o) const |
Virtual dump of data processing vectors. More... | |
Private Attributes | |
HiVector | _revClock |
Statistics | _stats |
bool | _triggered |
Processes Reverse Clock calibration data (ZeroReverse Module)
This class loads and processes the Reverse Clock data from a HiRISE image for offset correction purposes. Additional processing may occur in subsequent modules.
2010-04-16 Kris Becker Renamed from Zf to ZeroReverse
2010-10-28 Kris Becker Renamed parameters replacing "Zz" with "ZeroReverse".
Definition at line 60 of file ZeroReverse.h.
|
inlinevirtual |
Destructor.
Definition at line 71 of file ZeroReverse.h.
|
inlineinherited |
Dumps the component to a specified file.
fname | Name of file to dump contents to |
Definition at line 146 of file Module.h.
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 |
Definition at line 184 of file Module.h.
References Isis::Module::_fmtPrecision, Isis::Module::_fmtWidth, Isis::IsSpecial(), and Isis::PixelToString().
Referenced by Isis::ZeroBufferSmooth::printOn(), Isis::ZeroBufferFit::printOn(), Isis::ZeroDark::printOn(), printOn(), and Isis::Module::printOn().
|
inlineinherited |
Returns expanded name of last CSV file loaded by loadCsv.
Definition at line 86 of file Module.h.
References Isis::Module::_csvFile.
|
inlineinherited |
Return recorded history of events.
Definition at line 131 of file Module.h.
References Isis::Module::_history.
Referenced by init(), and Isis::ZeroBufferSmooth::init().
|
inlineprivate |
Initialize and compute data solution.
cal | HiRISE calibration data provided |
conf | Configuration data provider |
Definition at line 105 of file ZeroReverse.h.
References Isis::Module::_data, Isis::Module::_history, Isis::Statistics::AddData(), Isis::Statistics::Average(), Isis::averageLines(), Isis::ConfKey(), Isis::cropLines(), Isis::DbAccess::getProfile(), Isis::Statistics::HisPixels(), Isis::Module::History(), Isis::Statistics::LisPixels(), Isis::DbProfile::Name(), Isis::Statistics::NullPixels(), Isis::DbAccess::profileExists(), Isis::Module::ref(), Isis::Statistics::Reset(), Isis::Statistics::StandardDeviation(), Isis::toDouble(), Isis::toInt(), Isis::toString(), and Isis::ToString().
|
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 |
Definition at line 116 of file Module.h.
References Isis::Module::_csvFile, and Isis::Module::_history.
|
inlineinherited |
|
inlineinherited |
Return individual element of the data vector.
Definition at line 128 of file Module.h.
References Isis::Module::_data.
|
inlineprivatevirtual |
Virtual dump of data processing vectors.
Reimplemented from Isis::Module.
Definition at line 174 of file ZeroReverse.h.
References Isis::Module::_data, Isis::Module::_fmtWidth, Isis::Module::_history, and Isis::Module::formatDbl().
|
inlinevirtualinherited |
Invokes the process method on the Module vector.
Definition at line 91 of file Module.h.
References Isis::Module::ref().
|
inlinevirtualinherited |
Default processing behavior makes a reference copy of data array.
Reimplemented in Isis::SplineFill, and Isis::LowPassFilter.
Definition at line 96 of file Module.h.
References Isis::Module::_data.
|
inlinevirtualinherited |
Record history in Pvl group object.
Definition at line 134 of file Module.h.
References Isis::Module::_history.
|
inlineinherited |
Return data via a const reference.
Definition at line 126 of file Module.h.
References Isis::Module::_data.
Referenced by Isis::ZeroBufferFit::guess(), init(), Isis::ZeroBufferSmooth::init(), and Isis::Module::Process().
|
inlineinherited |
Returns the size (number of elements) of data array.
Definition at line 88 of file Module.h.
References Isis::Module::_data.
|
inline |
Return statistics for raw Reverse Clock buffer.
Definition at line 78 of file ZeroReverse.h.
|
inline |
Specifies if the input trigger conditions were met.
If trigger conditions where met, the reverse clock correction becomes a constant as opposed to processed reverse clock pixels.
Definition at line 88 of file ZeroReverse.h.
|
protectedinherited |
Fully expanded name of CSV file if present.
Definition at line 165 of file Module.h.
Referenced by Isis::Module::getcsvFile(), and Isis::Module::loadCsv().
|
protectedinherited |
Data vector.
Definition at line 166 of file Module.h.
Referenced by init(), Isis::ZeroBufferSmooth::init(), Isis::Module::operator()(), Isis::ZeroBufferSmooth::printOn(), Isis::ZeroDark::printOn(), printOn(), Isis::Module::printOn(), Isis::LowPassFilter::Process(), Isis::Module::Process(), Isis::Module::ref(), and Isis::Module::size().
|
protectedinherited |
Default field with of double.
Definition at line 169 of file Module.h.
Referenced by Isis::Module::formatDbl().
|
protectedinherited |
Default field with of double.
Definition at line 168 of file Module.h.
Referenced by Isis::Module::formatDbl(), Isis::ZeroBufferSmooth::printOn(), Isis::ZeroBufferFit::printOn(), Isis::ZeroDark::printOn(), and printOn().
|
protectedinherited |
Hierarchial component history.
Definition at line 167 of file Module.h.
Referenced by Isis::GainUnitConversion::getTempDepGain(), Isis::ZeroBufferFit::guess(), Isis::Module::History(), init(), Isis::ZeroBufferSmooth::init(), Isis::Module::loadCsv(), Isis::ZeroBufferFit::Normalize(), Isis::ZeroBufferSmooth::printOn(), Isis::ZeroBufferFit::printOn(), Isis::ZeroDark::printOn(), printOn(), Isis::Module::printOn(), Isis::LowPassFilter::Process(), Isis::SplineFill::Process(), Isis::Module::record(), Isis::ZeroBufferFit::Solve(), and Isis::ZeroBufferFit::ZeroBufferFit().
|
protectedinherited |