1 #ifndef ZeroBufferSmooth_h     2 #define ZeroBufferSmooth_h    82                   Module(
"ZeroBufferSmooth") { 
   112         DbProfile prof = conf.getMatrixProfile();
   116         int samp0 = 
toInt(
ConfKey(prof,
"ZeroBufferSmoothFirstSample",QString(
"0")));
   117         int sampN = 
toInt(
ConfKey(prof,
"ZeroBufferSmoothLastSample",QString(
"11")));
   123                           toInt(
ConfKey(prof,
"ZeroBufferSmoothFilterWidth",QString(
"201"))),
   124                           toInt(
ConfKey(prof,
"ZeroBufferSmoothFilterIterations",QString(
"2"))));
   132         for ( 
int i = 0 ; i < 
_data.dim() ; i++ ) {
   151         o << 
"#  History = " << 
_history << std::endl;
   154           << std::setw(
_fmtWidth+1) << 
"Filtered\n";
   156         for (
int i = 0 ; i < 
_data.dim() ; i++) {
 const HiVector & ref() const
Return data via a const reference. 
 
void init(HiCalData &cal, const HiCalConf &conf)
Workhorse of the zero buffer computation. 
 
double StandardDeviation() const
Computes and returns the standard deviation. 
 
int _fmtWidth
Default field with of double. 
 
HiVector averageSamples(const HiMatrix &m, int ssamp=0, int esamp=-1)
Reduces by averaging specified samples from a buffer. 
 
HiVector _data
Data vector. 
 
int toInt(const QString &string)
Global function to convert from a string to an integer. 
 
Compute a low pass filter from a Module class content. 
 
HiHistory _history
Hierarchial component history. 
 
virtual ~ZeroBufferSmooth()
Destructor. 
 
A DbProfile is a container for access parameters to a database. 
 
const HiHistory & History() const
Return recorded history of events. 
 
QString formatDbl(const double &value) const
Properly format values that could be special pixels. 
 
This class is used to accumulate statistics on double arrays. 
 
const Statistics & Stats() const
Return statistics for filtered - raw Buffer. 
 
void Reset()
Reset all accumulators and counters to zero. 
 
Compute a low pass filter from a Module class content. 
 
Module manages HiRISE calibration vectors from various sources. 
 
bool IsSpecial(const double d)
Returns if the input pixel is special. 
 
Processes Buffer calibration data (ZeroBufferSmooth Module) 
 
ZeroBufferSmooth(HiCalData &cal, const HiCalConf &conf)
Construct with data parameters. 
 
Namespace for ISIS/Bullet specific routines. 
 
T ConfKey(const DbProfile &conf, const QString &keyname, const T &defval, int index=0)
Find a keyword in a profile using default for non-existant keywords. 
 
QString Name() const
Returns the name of this property. 
 
virtual void printOn(std::ostream &o) const
Virtualized parameter reporting method. 
 
void AddData(const double *data, const unsigned int count)
Add an array of doubles to the accumulators and counters. 
 
Container for HiRISE calibration data. 
 
QString ToString(const T &value)
Helper function to convert values to strings. 
 
double Average() const
Computes and returns the average. 
 
TNT::Array1D< double > HiVector
1-D Buffer