SigmaTransform
The SigmaTransform unifies various known signal processing transforms, like the STFT and the wavelet transform, differing only by a specific diffeomorphism.
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
SigmaTransform1D.cpp
Go to the documentation of this file.
1
2
//#include <math.h>
3
4
#include "
SigmaTransform1D.h
"
5
6
namespace
SigmaTransform
{
7
8
SigmaTransform1D::SigmaTransform1D
(
9
diffFunc<1> sigma, winFunc<1> window,
const
point<1>
&Fs,
const
point<1>
&size,
const
std::vector<
point<1>
> &steps, actFunc<1> act )
10
:
SigmaTransform
<1>( sigma, window, Fs , size , steps , act ) { }
11
12
SigmaTransform1D::SigmaTransform1D
(
13
diffFunc<1> sigma,
const
point<1>
&width,
const
point<1>
&Fs,
const
point<1>
&size,
const
std::vector<
point<1>
> &steps, actFunc<1> act )
14
:
SigmaTransform
<1>( sigma, width, Fs , size , steps , act ) { }
15
16
17
STFT1D::STFT1D
( winFunc<1> window,
const
point<1>
&Fs,
const
point<1>
&size,
const
std::vector<
point<1>
> &steps )
18
:
SigmaTransform
<1>(
id
<1>, window, Fs , size , steps ) { }
19
20
STFT1D::STFT1D
(
const
point<1>
&width,
const
point<1>
&Fs,
const
point<1>
&size,
const
std::vector<
point<1>
> &steps )
21
:
SigmaTransform
<1>(
id
<1>, width, Fs , size , steps ) { }
22
23
24
WaveletTransform1D::WaveletTransform1D
( winFunc<1> window,
const
point<1>
&Fs,
const
point<1>
&size,
const
std::vector<
point<1>
> &steps )
25
:
SigmaTransform
<1>(
logpos
<1>, window, Fs , size , steps ) { }
26
27
WaveletTransform1D::WaveletTransform1D
(
const
point<1>
&width,
const
point<1>
&Fs,
const
point<1>
&size,
const
std::vector<
point<1>
> &steps )
28
:
SigmaTransform
<1>(
logpos
<1>, width, Fs , size , steps ) { }
29
30
31
CQTransform1D::CQTransform1D
( winFunc<1> window,
const
point<1>
&Fs,
const
point<1>
&size,
const
std::vector<
point<1>
> &steps )
32
:
SigmaTransform
<1>( cq, window, Fs , size , steps ) { }
33
34
CQTransform1D::CQTransform1D
(
const
point<1>
&width,
const
point<1>
&Fs,
const
point<1>
&size,
const
std::vector<
point<1>
> &steps )
35
:
SigmaTransform
<1>( cq, width, Fs , size , steps ) { }
36
37
38
double
CQTransform1D::cq
(
const
point<1>
&x ) {
return
Q
* log2( abs( x[0] /
f_0
) + 1E-16 ); };
39
40
}
// namespace SigmaTransform
Generated on Wed Dec 5 2018 20:00:31 for SigmaTransform by
1.8.1.2