v2.0.0
Loading...
Searching...
No Matches
dpss.h
Go to the documentation of this file.
1//=============================================================================================================
34
35#ifndef DPSS_H
36#define DPSS_H
37
38//=============================================================================================================
39// INCLUDES
40//=============================================================================================================
41
42#include "dsp_global.h"
43
44//=============================================================================================================
45// EIGEN INCLUDES
46//=============================================================================================================
47
48#include <Eigen/Core>
49
50//=============================================================================================================
51// DEFINE NAMESPACE UTILSLIB
52//=============================================================================================================
53
54namespace UTILSLIB
55{
56
57//=============================================================================================================
62{
63 Eigen::MatrixXd matTapers;
64 Eigen::VectorXd vecEigenvalues;
65};
66
67//=============================================================================================================
83{
84public:
85 //=========================================================================================================
94 static DpssResult compute(int N, double halfBandwidth, int nTapers = -1);
95};
96
97} // namespace UTILSLIB
98
99#endif // DPSS_H
dsp library export/import macros.
#define DSPSHARED_EXPORT
Definition dsp_global.h:56
Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).
Result of a DPSS taper computation.
Definition dpss.h:62
Eigen::MatrixXd matTapers
nTapers × N, each row is a unit-norm taper
Definition dpss.h:63
Eigen::VectorXd vecEigenvalues
Concentration ratios, length nTapers.
Definition dpss.h:64
Discrete Prolate Spheroidal Sequences (Slepian tapers).
Definition dpss.h:83
static DpssResult compute(int N, double halfBandwidth, int nTapers=-1)
Definition dpss.cpp:69