36 FFTFilter(
int sz,
float step);
39 enum Type { LowPass, HighPass, BandPass };
42 void setLowPass(
float cutf3,
float cutf4);
43 void setHighPass(
float cutf1,
float cutf2);
44 void setBandPass(
float cutf1,
float cutf2,
45 float cutf3,
float cutf4);
47 void setLowPass(
float cutf4);
48 void setHighPass(
float cutf1);
49 void setBandPass(
float cutf1,
float cutf4);
60 {
return freqdomain_; }
62 {stayinfreq_ =
true; }
64 Type getFilterType()
const;
65 bool isLowPass()
const;
66 bool isHighPass()
const;
87 void buildFreqTaperWin();
98 bool isimag=
false)
const;
#define mExpClass(module)
Definition: commondefs.h:160
Does Fourier Transforms of any size.
Definition: fourier.h:30
Fourier::CC * fft_
Definition: fftfilter.h:77
void requestStayInFreqDomain()
Definition: fftfilter.h:61
Array1DImpl< float_complex > * freqdomain_
Definition: fftfilter.h:84
Tapers the N-dimentional ArrayND with a windowFunction.
Definition: arrayndalgo.h:309
int fftsz_
Definition: fftfilter.h:71
ArrayNDWindow * freqwindow_
Definition: fftfilter.h:79
BoolTypeSet isudfreal_
Definition: fftfilter.h:82
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:258
float step_
Definition: fftfilter.h:74
Array1DImpl< float > * trendimag_
Definition: fftfilter.h:81
float df_
Definition: fftfilter.h:73
BoolTypeSet isudfimag_
Definition: fftfilter.h:83
ArrayNDWindow * timewindow_
Definition: fftfilter.h:78
std::complex< float > float_complex
Definition: odcomplex.h:18
Definition: convolve2d.h:27
bool stayinfreq_
Definition: fftfilter.h:85
bool interpUdf(Array1D< fT > &in, typename BendPointBasedMathFunction< fT, fT >::InterpolType ipoltyp=BendPointBasedMathFunction< fT, fT >::Poly)
Definition: arrayndalgo.h:272
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Classical FFT filter, use set to set up data step, min and max frequency and type of the filter (minf...
Definition: fftfilter.h:32
Array1DImpl< float > * trendreal_
Definition: fftfilter.h:80
Implementation of Array1D.
Definition: arrayndimpl.h:52
int sz_
Definition: fftfilter.h:72
Type
Definition: fftfilter.h:39