Vespucci  1.0.0
cwt.h
Go to the documentation of this file.
1 /*******************************************************************************
2  Copyright (C) 2014-2016 Wright State University - All Rights Reserved
3  Daniel P. Foose - Maintainer/Lead Developer
4 
5  This file is part of Vespucci.
6 
7  Vespucci is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  Vespucci is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with Vespucci. If not, see <http://www.gnu.org/licenses/>.
19 *******************************************************************************/
20 #ifndef CWT_H
21 #define CWT_H
22 #if !defined( SWIG )
23  // SWIG should not see #inlcude<armadillo> as it can not handle it
24  #include "Math/VespucciMath.h"
25  #include "Global/libvespucci.h"
26 #endif
27 namespace Vespucci
28 {
29  namespace Math
30  {
35  namespace Transform
36  {
37  VESPUCCI_EXPORT arma::mat cwt(arma::vec X, std::string wavelet, arma::uvec scales);
38  VESPUCCI_EXPORT arma::mat cwt_mat(arma::mat X, std::string wavelet, arma::uword qscale);
39  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);
40  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);
41  VESPUCCI_EXPORT arma::field<arma::mat> cwt_multi_mat(arma::mat X, std::string wavelet, arma::uvec scales);
42  VESPUCCI_EXPORT arma::field<arma::mat> cwt_multi(const arma::mat &X, std::string wavelet, arma::uvec scales);
43  VESPUCCI_EXPORT arma::mat cwtPeakAnalysis(const arma::mat &X,
44  std::string wavelet, arma::uword qscale,
45  double threshold, std::string threshold_method,
46  arma::mat &transform);
47  VESPUCCI_EXPORT arma::mat FindRidges(arma::mat coefs);
48  }
49  }
50 }
51 #endif //CWT_H
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)
Definition: cwt.cpp:150
VESPUCCI_EXPORT arma::mat cwt_mat(arma::mat X, std::string wavelet, arma::uword qscale)
VESPUCCI_EXPORT arma::mat cwtPeakAnalysis(const arma::mat &X, std::string wavelet, arma::uword qscale, double threshold, std::string threshold_method, arma::mat &transform)
Definition: cwt.cpp:188
VESPUCCI_EXPORT arma::mat cwt(arma::vec X, std::string wavelet, arma::uvec scales)
Vespucci::Math::Transform::cwt.
Definition: cwt.cpp:42
VESPUCCI_EXPORT arma::field< arma::mat > cwt_multi_mat(arma::mat X, std::string wavelet, arma::uvec scales)
#define VESPUCCI_EXPORT
Definition: libvespucci.h:7
VESPUCCI_EXPORT arma::mat FindRidges(arma::mat coefs)
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)
Definition: cwt.cpp:123
A namespace for "global" functions, including math functions.
VESPUCCI_EXPORT arma::field< arma::mat > cwt_multi(const arma::mat &X, std::string wavelet, arma::uvec scales)
Vespucci::Math::Transform::cwt_multi.
Definition: cwt.cpp:227