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//=============================================================================================================
61{
62public:
64
65 //=========================================================================================================
71
72 //=========================================================================================================
84 CosineFilter(int fftLength,
85 float lowpass,
86 float lowpass_width,
87 float highpass,
88 float highpass_width,
89 double sFreq,
90 TPassType type);
91
92 Eigen::RowVectorXcd m_vecFftCoeff;
93 Eigen::RowVectorXd m_vecCoeff;
94
96};
97} // NAMESPACE UTILSLIB
98
99#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