|
Isis 3 Programmer Reference
|
1 #ifndef GainFlatField_h
2 #define GainFlatField_h
17 #include "HiCalTypes.h"
18 #include "HiCalUtil.h"
19 #include "HiCalConf.h"
22 #include "Statistics.h"
23 #include "IException.h"
64 void init(
const HiCalConf &conf) {
73 for (
int i = 0 ; i <
_data.dim() ; i++ ) {
HiHistory _history
Hierarchial component history.
This class is used to accumulate statistics on double arrays.
void AddData(const double *data, const unsigned int count)
Add an array of doubles to the accumulators and counters.
QString Name() const
Returns the name of this property.
QString ToString(const T &value)
Helper function to convert values to strings.
GainFlatField Module - Computes flat field correction for sample.
Module manages HiRISE calibration vectors from various sources.
void Reset()
Reset all accumulators and counters to zero.
HiVector _data
Data vector.
HiVector loadCsv(const QString &csvBase, const HiCalConf &conf, const DbProfile &prof, const int &elements=0)
Provide generic loading of CSV file for all modules.
virtual ~GainFlatField()
Destructor.
double StandardDeviation() const
Computes and returns the standard deviation.
int ToInteger(const T &value)
Helper function to convert values to Integers.
A DbProfile is a container for access parameters to a database.
double Average() const
Computes and returns the average.
const Statistics & Stats() const
Return statistics A matrix corection.
This is free and unencumbered software released into the public domain.