|
VESPUCCI_EXPORT arma::mat | cwt (arma::vec X, std::string wavelet, arma::uvec scales) |
| Vespucci::Math::Transform::cwt. More...
|
|
VESPUCCI_EXPORT arma::mat | cwt_mat (arma::mat X, std::string wavelet, arma::uword qscale) |
|
VESPUCCI_EXPORT arma::vec | cwt_spdbc (const arma::vec &X, std::string wavelet, arma::uword qscale, double threshold, std::string threshold_method, arma::uword window_size, arma::umat &peak_extrema, arma::vec &baseline) |
|
VESPUCCI_EXPORT arma::mat | cwt_spdbc_mat (const arma::mat &X, std::string wavelet, arma::uword qscale, double threshold, std::string threshold_method, arma::uword window_size, arma::field< arma::umat > &peak_positions, arma::mat &baselines) |
|
VESPUCCI_EXPORT arma::field< arma::mat > | cwt_multi_mat (arma::mat X, std::string wavelet, arma::uvec scales) |
|
VESPUCCI_EXPORT arma::field< arma::mat > | cwt_multi (const arma::mat &X, std::string wavelet, arma::uvec scales) |
| Vespucci::Math::Transform::cwt_multi. More...
|
|
VESPUCCI_EXPORT arma::mat | cwtPeakAnalysis (const arma::mat &X, std::string wavelet, arma::uword qscale, double threshold, std::string threshold_method, arma::mat &transform) |
|
VESPUCCI_EXPORT arma::mat | FindRidges (arma::mat coefs) |
|
VESPUCCI_EXPORT void | fft_mat (const arma::mat &t_signal, const arma::vec &t_abscissa, arma::cx_mat &f_signal, arma::vec &f_abscissa, arma::uword n) |
| Vespucci::Math::Transform::fft_mat. More...
|
|
VESPUCCI_EXPORT void | ifft_mat (const arma::cx_mat &f_signal, const arma::vec f_abscissa, arma::cx_mat &t_signal, arma::vec &t_abscissa, arma::uword n) |
| Vespucci::Math::Transform::ifft_mat. More...
|
|
VESPUCCI_EXPORT arma::mat | ApplyWeights (const arma::mat &signal, const arma::vec &abscissa, const std::string &weight, const double ¶m) |
| Vespucci::Math::Transform::ApplyWeights. More...
|
|
VESPUCCI_EXPORT arma::mat | ApplySBWeights (const arma::mat &signal, const arma::vec &abscissa, const double &starting_offset, const double &ending_offset, const double &power) |
| Vespucci::Math::Transform::ApplyWeights. More...
|
|
arma::mat Vespucci::Math::Transform::cwt |
( |
arma::vec |
X, |
|
|
std::string |
wavelet, |
|
|
arma::uvec |
scales |
|
) |
| |
Vespucci::Math::Transform::cwt.
- Parameters
-
X | |
wavelet | |
scales | A vector of arma::uwords containing the scales to calculate |
- Returns
- A arma::matrix containing vectors of CWT coefficients as columns (this is the transpose of the result produced by arma::matlab/octave and Zhang's R code).
Calculate the CWT coefficients for the scales in scales for the vector X. This code is translated from the R package baselineWavelet by Zhang. Zhang, Z.-M., Chen, S., Liang, Y.-Z., Liu, Z.-X., Zhang, Q.-M., Ding, L.-X., Ye, F. and Zhou, H. (2010), An intelligent background-correction algorithm for highly fluorescent samples in Raman spectroscopy. J. Raman Spectrosc., 41: 659–669. doi: 10.1002/jrs.2500
Definition at line 42 of file cwt.cpp.