v2.0.0
Loading...
Searching...
No Matches
cosinefilter.h
Go to the documentation of this file.
1//=============================================================================================================
27
28#ifndef COSINEFILTER_H
29#define COSINEFILTER_H
30
31//=============================================================================================================
32// INCLUDES
33//=============================================================================================================
34
35#include "dsp_global.h"
36
37//=============================================================================================================
38// QT INCLUDES
39//=============================================================================================================
40
41//=============================================================================================================
42// EIGEN INCLUDES
43//=============================================================================================================
44
45#include <Eigen/Core>
46
47//=============================================================================================================
48// DEFINE NAMESPACE UTILSLIB
49//=============================================================================================================
50
51namespace UTILSLIB
52{
53
54//=============================================================================================================
63{
64public:
72
73 //=========================================================================================================
79
80 //=========================================================================================================
92 CosineFilter(int fftLength,
93 float lowpass,
94 float lowpass_width,
95 float highpass,
96 float highpass_width,
97 double sFreq,
98 TPassType type);
99
100 Eigen::RowVectorXcd m_vecFftCoeff;
101 Eigen::RowVectorXd m_vecCoeff;
102
104};
105} // NAMESPACE UTILSLIB
106
107#endif // COSINEFILTER_H
Export/import macros and namespace declaration for the DSP library.
#define DSPSHARED_EXPORT
Definition dsp_global.h:50
Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).
Creates a cosine filter response in the frequency domain.
Eigen::RowVectorXd m_vecCoeff
Eigen::RowVectorXcd m_vecFftCoeff