Vespucci  1.0.0
UnivariateData Class Reference

#include <univariatedata.h>

Inheritance diagram for UnivariateData:
AnalysisResults

Public Member Functions

 UnivariateData (QString name)
 
 UnivariateData (QString name, vec control)
 
void Apply (double left_bound, double right_bound, uword bound_window, const mat &spectra, const vec &abscissa)
 
void Apply (QString peak_shape, double left_bound, double right_bound, const mat &spectra, const vec &abscissa)
 
void Apply (double first_left_bound, double first_right_bound, double second_left_bound, double second_right_bound, uword bound_window, const mat &spectra, const vec &abscissa)
 
void ApplyCorrelation (const mat &spectra, const vec &control)
 
void Calibrate (const vec &x, const vec &y, uword column)
 UnivariateData::Calibrate. More...
 
- Public Member Functions inherited from AnalysisResults
 AnalysisResults (QString name, QString type)
 AnalysisResults::AnalysisResults. More...
 
virtual ~AnalysisResults ()
 
const mat & GetMatrix (const QString &key)
 
void AddMatrix (const QString &key, const mat &value, QStringList column_headings=QStringList())
 
void AddColumns (const QStringList &keys, const mat &value)
 
void AddMetadata (QString key, QString value)
 
void AddField (const QString &key, const field< mat > &value)
 
const field< mat > & GetField (const QString &key)
 
const mat & GetFieldElement (const QString &key, const uword &index)
 
bool HasField (const QString &key) const
 
bool HasMatrix (const QString &key) const
 
const QStringList KeyList () const
 
const QString name () const
 
const QString type () const
 
const mat & EmptyMatrix ()
 
const QMap< QString, QString > GetMetadata () const
 
const QString GetColumnHeading (const QString &key, int column)
 
const QString GetRowHeading (const QString &key, int row)
 
void SetName (const QString &new_name)
 
void SetType (const QString &new_type)
 
QSharedPointer< AnalysisResultsSubset (QStringList matrices, uword start_row, uword end_row)
 
void AddParent (QString key, uword start_row, uword end_row)
 
QMap< QString, uvec > parent_rows ()
 
bool Concatenate (QSharedPointer< AnalysisResults > other)
 AnalysisResults::Concatenate. More...
 
QSharedPointer< AnalysisResultsReplicate ()
 AnalysisResults::Replicate. More...
 
void RemoveMatrix (const QString &key)
 

Detailed Description

Definition at line 25 of file univariatedata.h.

Constructor & Destructor Documentation

UnivariateData::UnivariateData ( QString  name)

Definition at line 3 of file univariatedata.cpp.

UnivariateData::UnivariateData ( QString  name,
vec  control 
)

Member Function Documentation

void UnivariateData::Apply ( double  left_bound,
double  right_bound,
uword  bound_window,
const mat &  spectra,
const vec &  abscissa 
)

Definition at line 9 of file univariatedata.cpp.

void UnivariateData::Apply ( QString  peak_shape,
double  left_bound,
double  right_bound,
const mat &  spectra,
const vec &  abscissa 
)

Definition at line 50 of file univariatedata.cpp.

void UnivariateData::Apply ( double  first_left_bound,
double  first_right_bound,
double  second_left_bound,
double  second_right_bound,
uword  bound_window,
const mat &  spectra,
const vec &  abscissa 
)

Definition at line 101 of file univariatedata.cpp.

void UnivariateData::ApplyCorrelation ( const mat &  spectra,
const vec &  control 
)

Definition at line 150 of file univariatedata.cpp.

void UnivariateData::Calibrate ( const vec &  x,
const vec &  y,
uword  column 
)

UnivariateData::Calibrate.

Parameters
xConcentration (or other factor)
yIntensity (or other such value as contained in the original dataset)
columnPerform linear calibration. X is the concentration, y the intensity. Will ignore column if this is a correlation

Definition at line 164 of file univariatedata.cpp.


The documentation for this class was generated from the following files: