IT++
4.3.1
Toggle main menu visibility
itpp
signal
sigfun.h
Go to the documentation of this file.
1
28
29
#ifndef SIGFUN_H
30
#define SIGFUN_H
31
32
#include <
itpp/base/vec.h
>
33
#include <itpp/itexports.h>
34
35
36
namespace
itpp
37
{
38
43
70
ITPP_EXPORT
void
xcorr_old
(
const
vec &x,
const
vec &y, vec &out,
const
int
max_lag = -1,
const
std::string scaleopt =
"none"
);
71
ITPP_EXPORT
void
xcorr
(
const
vec &x,
const
vec &y, vec &out,
const
int
max_lag = -1,
const
std::string scaleopt =
"none"
);
73
101
ITPP_EXPORT vec
xcorr_old
(
const
vec &x,
const
vec &y,
const
int
max_lag = -1,
const
std::string scaleopt =
"none"
);
102
ITPP_EXPORT vec
xcorr
(
const
vec &x,
const
vec &y,
const
int
max_lag = -1,
const
std::string scaleopt =
"none"
);
104
110
ITPP_EXPORT cvec
xcorr
(
const
cvec &x,
const
cvec &y,
const
int
max_lag = -1,
const
std::string scaleopt =
"none"
);
111
112
138
ITPP_EXPORT vec
xcorr_old
(
const
vec &x,
const
int
max_lag = -1,
const
std::string scaleopt =
"none"
);
139
ITPP_EXPORT vec
xcorr
(
const
vec &x,
const
int
max_lag = -1,
const
std::string scaleopt =
"none"
);
141
147
ITPP_EXPORT cvec
xcorr
(
const
cvec &x,
const
int
max_lag = -1,
const
std::string scaleopt =
"none"
);
148
154
ITPP_EXPORT
void
xcorr
(
const
cvec &x,
const
cvec &y, cvec &out,
const
int
max_lag = -1,
const
std::string scaleopt =
"none"
,
155
bool
autoflag =
true
);
156
168
ITPP_EXPORT mat
cov
(
const
mat &X,
bool
is_zero_mean =
false
);
169
170
//vec cov(const vec &x, short order);
171
177
ITPP_EXPORT vec
spectrum
(
const
vec &v,
int
nfft = 256,
int
noverlap = 0);
178
184
ITPP_EXPORT vec
spectrum
(
const
vec &v,
const
vec &w,
int
noverlap = 0);
185
191
ITPP_EXPORT vec
filter_spectrum
(
const
vec &a,
int
nfft = 256);
192
198
ITPP_EXPORT vec
filter_spectrum
(
const
vec &a,
const
vec &b,
int
nfft = 256);
199
201
202
}
// namespace itpp
203
204
#endif
// #ifndef SIGFUN_H
itpp::filter_spectrum
vec filter_spectrum(const vec &a, int nfft)
Power spectrum calculation of a filter.
Definition
sigfun.cpp:325
itpp::spectrum
vec spectrum(const vec &v, int nfft, int noverlap)
Power spectrum calculation.
Definition
sigfun.cpp:267
itpp::cov
mat cov(const mat &X, bool is_zero_mean)
Covariance matrix calculation.
Definition
sigfun.cpp:226
itpp::xcorr_old
vec xcorr_old(const vec &x, const int max_lag, const std::string scaleopt)
Auto-correlation calculation.
Definition
sigfun.cpp:43
itpp::xcorr
vec xcorr(const vec &x, const int max_lag, const std::string scaleopt)
Auto-correlation calculation.
Definition
sigfun.cpp:50
itpp
itpp namespace
Definition
itmex.h:37
vec.h
Templated Vector Class Definitions.
Generated by
1.17.0