Vespucci
1.0.0
|
Functions | |
VESPUCCI_EXPORT arma::mat | SVDDenoise (const arma::mat &X, arma::uword k, arma::mat &U, arma::vec &s, arma::mat &V) |
VESPUCCI_EXPORT arma::mat | QUICSVDDenoise (const arma::mat &X, double epsilon, arma::mat &U, arma::vec &s, arma::mat &V, arma::uword &rank) |
VESPUCCI_EXPORT arma::mat | sgolay (arma::uword poly_order, arma::uword window_size, arma::uword deriv_order, arma::uword scaling_factor) |
Vespucci::Math::Smoothing::sgolay Find a arma::matrix of Savitzky-Golay convolution coefficients. More... | |
VESPUCCI_EXPORT arma::mat | sgolayfilt (const arma::mat &x, arma::uword poly_order, arma::uword window_size, arma::uword deriv_order, arma::uword scaling_factor) |
sgolayfilt Apply Savitzky-Golay smoothing to each column of a arma::matrix More... | |
VESPUCCI_EXPORT arma::vec | ApplyFilter (const arma::vec &x, arma::mat coefficients, arma::uword window_size) |
Vespucci::Math::Smoothing::ApplyFilter Apply FIR filters to a column vector. More... | |
VESPUCCI_EXPORT arma::vec | ApplyFilter (const arma::vec &x, arma::vec filter) |
Vespucci::Math::Smoothing::ApplyFilter. More... | |
VESPUCCI_EXPORT arma::vec | CreateMovingAverageFilter (arma::uword window_size) |
Vespucci::Math::Smoothing::CreateMovingAverageFilter. More... | |
VESPUCCI_EXPORT arma::vec | MedianFilter (const arma::vec &X, arma::uword window_size) |
Vespucci::Math::Smoothing::MedianFilter. More... | |
VESPUCCI_EXPORT arma::mat | MedianFilterMat (const arma::mat &X, arma::uword window_size) |
Vespucci::Math::Smoothing::MedianFilterMat. More... | |
VESPUCCI_EXPORT arma::vec | WhittakerSmooth (const arma::vec &x, double lambda, arma::uword penalty_order) |
Vespucci::Math::WhittakerSmooth. More... | |
VESPUCCI_EXPORT arma::mat | InterpolateToNewAbscissa (const arma::mat &spectra, const arma::vec &old_abscissa, const arma::vec &new_abscissa, const int window_size, const int order) |
InterpolateToNewAbscissa. More... | |
VESPUCCI_EXPORT arma::mat | InterpolateToNewAbscissa (const arma::mat &spectra, const arma::vec &old_abscissa, const arma::vec &new_abscissa) |
InterpolateToNewAbscissa. More... | |
arma::vec Vespucci::Math::Smoothing::ApplyFilter | ( | const arma::vec & | x, |
arma::mat | coefficients, | ||
arma::uword | window_size | ||
) |
Vespucci::Math::Smoothing::ApplyFilter Apply FIR filters to a column vector.
x | Data to be filtered |
coefficients | A arma::matrix of FIR filters. |
window_size | Filter window size |
arma::vec Vespucci::Math::Smoothing::ApplyFilter | ( | const arma::vec & | x, |
arma::vec | filter | ||
) |
Vespucci::Math::Smoothing::ApplyFilter.
x | The vector to filter |
filter | The filter |
arma::vec Vespucci::Math::Smoothing::CreateMovingAverageFilter | ( | arma::uword | window_size | ) |
Vespucci::Math::Smoothing::CreateMovingAverageFilter.
window_size | The window size of the filter. |
arma::mat Vespucci::Math::Smoothing::InterpolateToNewAbscissa | ( | const arma::mat & | spectra, |
const arma::vec & | old_abscissa, | ||
const arma::vec & | new_abscissa, | ||
const int | window_size, | ||
const int | order | ||
) |
arma::mat Vespucci::Math::Smoothing::InterpolateToNewAbscissa | ( | const arma::mat & | spectra, |
const arma::vec & | old_abscissa, | ||
const arma::vec & | new_abscissa | ||
) |
arma::vec Vespucci::Math::Smoothing::MedianFilter | ( | const arma::vec & | X, |
arma::uword | window_size | ||
) |
Vespucci::Math::Smoothing::MedianFilter.
X | |
window_size |
Definition at line 30 of file nonlinear.cpp.
arma::mat Vespucci::Math::Smoothing::MedianFilterMat | ( | const arma::mat & | X, |
arma::uword | window_size | ||
) |
Vespucci::Math::Smoothing::MedianFilterMat.
X | |
window_size |
Definition at line 61 of file nonlinear.cpp.
arma::mat Vespucci::Math::Smoothing::QUICSVDDenoise | ( | const arma::mat & | X, |
double | epsilon, | ||
arma::mat & | U, | ||
arma::vec & | s, | ||
arma::mat & | V, | ||
arma::uword & | rank | ||
) |
Definition at line 28 of file denoise.cpp.
arma::mat Vespucci::Math::Smoothing::sgolay | ( | arma::uword | poly_order, |
arma::uword | window_size, | ||
arma::uword | deriv_order, | ||
arma::uword | scaling_factor | ||
) |
Vespucci::Math::Smoothing::sgolay Find a arma::matrix of Savitzky-Golay convolution coefficients.
poly_order | |
window_size | |
deriv_order | |
scaling_factor |
arma::mat Vespucci::Math::Smoothing::sgolayfilt | ( | const arma::mat & | x, |
arma::uword | poly_order, | ||
arma::uword | window_size, | ||
arma::uword | deriv_order, | ||
arma::uword | scaling_factor | ||
) |
sgolayfilt Apply Savitzky-Golay smoothing to each column of a arma::matrix
x | Input arma::matrix. Each column is a signal |
poly_order | Polynomial order for smoothing |
window_size | Size of filter window. Must be odd and larger than poly order |
deriv_order | Derivative order, to extract derivatized data directly |
scaling_factor | A scaling factor |
arma::mat Vespucci::Math::Smoothing::SVDDenoise | ( | const arma::mat & | X, |
arma::uword | k, | ||
arma::mat & | U, | ||
arma::vec & | s, | ||
arma::mat & | V | ||
) |
Definition at line 22 of file denoise.cpp.
arma::vec Vespucci::Math::Smoothing::WhittakerSmooth | ( | const arma::vec & | x, |
double | lambda, | ||
arma::uword | penalty_order | ||
) |
Vespucci::Math::WhittakerSmooth.
x | |
lambda | |
penalty_order |
Definition at line 31 of file whittaker.cpp.