Vespucci  1.0.0
MetaAnalyzer Class Referenceabstract

The MetaAnalyzer class This class is used to perform analysis on "pseudo-datasets". This allows us perform analysis on a concatentated spectra matrix from multiple datasets (the MultiAnalyzer derived class) or on a single matrix in a single dataset (the MatrixAnalyzer derived class). This class is not concerned with how the data_ and abscissa_ members are initialized (this is handled by GetData in derived classes). More...

#include <metaanalyzer.h>

Inheritance diagram for MetaAnalyzer:
AbstractDataAnalyzer MatrixAnalyzer MultiAnalyzer

Public Member Functions

 MetaAnalyzer (QSharedPointer< VespucciWorkspace > ws)
 
 ~MetaAnalyzer ()
 
void Univariate (const QString &name, double &left_bound, double &right_bound, arma::uword bound_window)
 
void FitPeak (const QString &name, const QString &peak_shape, double &left_bound, double &right_bound)
 
void BandRatio (const QString &name, double &first_left_bound, double &first_right_bound, double &second_left_bound, double &second_right_bound, arma::uword bound_window)
 
void ClassicalLeastSquares (const QString &name, const QStringList &reference_keys)
 
void VertexComponents (const QString &name, uword endmembers)
 
void KMeans (const QString &name, const QString &metric_text, const QString &partition_policy, bool allow_empty, size_t clusters)
 
void PrincipalComponents (const QString &name)
 
void PrincipalComponents (const QString &name, bool scale_data)
 
void PartialLeastSquares (const QString &name, uword components)
 
void PLSCalibration (const QString &name, const QStringList &control_keys)
 
void TrainPLSDA (const QString &name, const QStringList &label_keys)
 
void AgglomerativeClustering (const QString &name, const QString &metric, const QString &linkage)
 
size_t columns () const
 
double AbscissaMin () const
 
double AbscissaMax () const
 
arma::vec abscissa () const
 
arma::vec PointSpectrum (arma::uword index) const
 
- Public Member Functions inherited from AbstractDataAnalyzer
virtual ~AbstractDataAnalyzer ()
 
virtual void VertexComponents (const QString &name, arma::uword endmembers)=0
 
virtual void PartialLeastSquares (const QString &name, arma::uword components)=0
 

Protected Attributes

QSharedPointer< VespucciWorkspaceworkspace_
 workspace_ The global workspace, used to obtain access to matrices More...
 
mat data_
 
vec abscissa_
 

Detailed Description

The MetaAnalyzer class This class is used to perform analysis on "pseudo-datasets". This allows us perform analysis on a concatentated spectra matrix from multiple datasets (the MultiAnalyzer derived class) or on a single matrix in a single dataset (the MatrixAnalyzer derived class). This class is not concerned with how the data_ and abscissa_ members are initialized (this is handled by GetData in derived classes).

Definition at line 33 of file metaanalyzer.h.

Constructor & Destructor Documentation

MetaAnalyzer::MetaAnalyzer ( QSharedPointer< VespucciWorkspace ws)

Definition at line 29 of file metaanalyzer.cpp.

MetaAnalyzer::~MetaAnalyzer ( )

Definition at line 34 of file metaanalyzer.cpp.

Member Function Documentation

arma::vec MetaAnalyzer::abscissa ( ) const
virtual

Implements AbstractDataAnalyzer.

Definition at line 209 of file metaanalyzer.cpp.

double MetaAnalyzer::AbscissaMax ( ) const
virtual

Implements AbstractDataAnalyzer.

Definition at line 204 of file metaanalyzer.cpp.

double MetaAnalyzer::AbscissaMin ( ) const
virtual

Implements AbstractDataAnalyzer.

Definition at line 199 of file metaanalyzer.cpp.

void MetaAnalyzer::AgglomerativeClustering ( const QString &  name,
const QString &  metric,
const QString &  linkage 
)
virtual

Implements AbstractDataAnalyzer.

Definition at line 177 of file metaanalyzer.cpp.

void MetaAnalyzer::BandRatio ( const QString &  name,
double &  first_left_bound,
double &  first_right_bound,
double &  second_left_bound,
double &  second_right_bound,
arma::uword  bound_window 
)
virtual

Implements AbstractDataAnalyzer.

Definition at line 79 of file metaanalyzer.cpp.

void MetaAnalyzer::ClassicalLeastSquares ( const QString &  name,
const QStringList &  reference_keys 
)
virtual

Implements AbstractDataAnalyzer.

Definition at line 95 of file metaanalyzer.cpp.

size_t MetaAnalyzer::columns ( ) const
virtual

Implements AbstractDataAnalyzer.

Definition at line 194 of file metaanalyzer.cpp.

void MetaAnalyzer::FitPeak ( const QString &  name,
const QString &  peak_shape,
double &  left_bound,
double &  right_bound 
)
virtual

Implements AbstractDataAnalyzer.

Definition at line 55 of file metaanalyzer.cpp.

void MetaAnalyzer::KMeans ( const QString &  name,
const QString &  metric_text,
const QString &  partition_policy,
bool  allow_empty,
size_t  clusters 
)
virtual

Implements AbstractDataAnalyzer.

Definition at line 114 of file metaanalyzer.cpp.

void MetaAnalyzer::PartialLeastSquares ( const QString &  name,
uword  components 
)

Definition at line 148 of file metaanalyzer.cpp.

void MetaAnalyzer::PLSCalibration ( const QString &  name,
const QStringList &  control_keys 
)
virtual

Implements AbstractDataAnalyzer.

Definition at line 157 of file metaanalyzer.cpp.

arma::vec MetaAnalyzer::PointSpectrum ( arma::uword  index) const
virtual

Implements AbstractDataAnalyzer.

Definition at line 214 of file metaanalyzer.cpp.

void MetaAnalyzer::PrincipalComponents ( const QString &  name)
virtual

Implements AbstractDataAnalyzer.

Definition at line 131 of file metaanalyzer.cpp.

void MetaAnalyzer::PrincipalComponents ( const QString &  name,
bool  scale_data 
)
virtual

Implements AbstractDataAnalyzer.

Definition at line 140 of file metaanalyzer.cpp.

void MetaAnalyzer::TrainPLSDA ( const QString &  name,
const QStringList &  label_keys 
)
virtual

Implements AbstractDataAnalyzer.

Definition at line 167 of file metaanalyzer.cpp.

void MetaAnalyzer::Univariate ( const QString &  name,
double &  left_bound,
double &  right_bound,
arma::uword  bound_window 
)
virtual

Implements AbstractDataAnalyzer.

Definition at line 39 of file metaanalyzer.cpp.

void MetaAnalyzer::VertexComponents ( const QString &  name,
uword  endmembers 
)

Definition at line 105 of file metaanalyzer.cpp.

Member Data Documentation

vec MetaAnalyzer::abscissa_
protected

Definition at line 102 of file metaanalyzer.h.

mat MetaAnalyzer::data_
protected

Definition at line 101 of file metaanalyzer.h.

QSharedPointer<VespucciWorkspace> MetaAnalyzer::workspace_
protected

workspace_ The global workspace, used to obtain access to matrices

Definition at line 100 of file metaanalyzer.h.


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