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 Developer Reference
|
Processes Buffer calibration data (ZeroBufferSmooth Module) More...
#include <ZeroBufferSmooth.h>
Public Member Functions | |
ZeroBufferSmooth () | |
ZeroBufferSmooth (HiCalData &cal, const HiCalConf &conf) | |
Construct with data parameters. | |
virtual | ~ZeroBufferSmooth () |
Destructor. | |
const Statistics & | Stats () const |
Return statistics for filtered - raw Buffer. | |
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. | |
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. | |
Processes Buffer calibration data (ZeroBufferSmooth Module)
This class loads and processes the Buffer data from a HiRISE image for drift correction purposes. The config file contains parameter (ZfFirstSample, ZfLastSample) that indicate which regions of the calibration buffer to extract/use. This region is averaged across the line axis for each line resulting in a single value for each line. The resulting vector is then filtered with a lowpass filter. The filter width (ZfFilterWidth) and number of interations (ZfFilterIterations) are contained within the config file. A spline fit is applied if any missing data remain after filtering.
|
inline |
References Isis::Module::Module().
|
inline |
Construct with data parameters.
This constructor completely computes drift from data collected in a HiRISE image
cal | Calibration data collection |
conf | All necessary parameters for computations |
References Isis::Module::Module().
|
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 _fmtPrecision, _fmtWidth, Isis::IsSpecial(), and Isis::PixelToString().
Referenced by printOn().
|
inlineinherited |
Returns expanded name of last CSV file loaded by loadCsv.
References _csvFile.
|
inlineinherited |
Return recorded history of events.
References _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 _csvFile, _history, Isis::LoadCSV::filename(), Isis::LoadCSV::getVector(), Isis::LoadCSV::History(), and Isis::LoadCSV::validateSize().
|
inlineinherited |
|
inlineinherited |
Return individual element of the data vector.
References _data.
|
inlinevirtualinherited |
Default processing behavior makes a reference copy of data array.
Reimplemented in Isis::LowPassFilter, and Isis::SplineFill.
References _data.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlineinherited |
Return data via a const reference.
References _data.
Referenced by Isis::ZeroBufferFit::guess(), Isis::LowPassFilter::LowPassFilter(), Process(), and Isis::SplineFill::SplineFill().
|
inlineinherited |
Returns the size (number of elements) of data array.
References _data.
|
inline |
Return statistics for filtered - raw Buffer.
|
protectedinherited |
|
protectedinherited |
Data vector.
Referenced by Isis::LowPassFilter::LowPassFilter(), Isis::LowPassFilter::LowPassFilter(), Module(), Module(), Module(), Module(), Module(), operator()(), printOn(), Isis::LowPassFilter::Process(), Process(), ref(), and size().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Hierarchial component history.
Referenced by Isis::ZeroBufferFit::guess(), History(), loadCsv(), Isis::LowPassFilter::LowPassFilter(), Isis::LowPassFilter::LowPassFilter(), Module(), Module(), Module(), Module(), Module(), Isis::ZeroBufferFit::Normalize(), printOn(), Isis::LowPassFilter::Process(), Isis::SplineFill::Process(), record(), Isis::ZeroBufferFit::Solve(), Isis::SplineFill::SplineFill(), Isis::SplineFill::SplineFill(), Isis::SplineFill::SplineFill(), and Isis::ZeroBufferFit::ZeroBufferFit().
|
protectedinherited |