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