Vespucci  1.0.0
Vespucci::Math::Normalization Namespace Reference

A namespace for math functions relating to normalization. More...

Functions

VESPUCCI_EXPORT arma::vec StandardScore (const arma::vec &X)
 Vespucci::Math::Normalization::StandardScore. More...
 
VESPUCCI_EXPORT arma::mat StandardScoreMat (const arma::mat &X)
 Vespucci::Math::Normalization::StandardScore. More...
 
VESPUCCI_EXPORT arma::mat SNVNorm (const arma::mat &X, const double offset, bool center)
 Vespucci::Math::Normalization::SNVNorm. More...
 

Detailed Description

A namespace for math functions relating to normalization.

Function Documentation

arma::mat Vespucci::Math::Normalization::SNVNorm ( const arma::mat &  X,
const double  offset,
bool  center 
)

Vespucci::Math::Normalization::SNVNorm.

Parameters
X
offset
center
Returns
Scale the spectra in X by their standard deviation. Each spectrum may be centered by its mean and the scale may be offset.

Definition at line 65 of file normalization.cpp.

arma::vec Vespucci::Math::Normalization::StandardScore ( const arma::vec &  X)

Vespucci::Math::Normalization::StandardScore.

Parameters
XA signal to be standardized
Returns
Standardized signal

Definition at line 31 of file normalization.cpp.

arma::mat Vespucci::Math::Normalization::StandardScoreMat ( const arma::mat &  X)

Vespucci::Math::Normalization::StandardScore.

Parameters
X
Returns
A arma::matrix in which each column of X is replaced by its standard score.

Definition at line 46 of file normalization.cpp.