v2.0.0
Loading...
Searching...
No Matches
dpss.h
Go to the documentation of this file.
1//=============================================================================================================
26
27#ifndef DPSS_H
28#define DPSS_H
29
30//=============================================================================================================
31// INCLUDES
32//=============================================================================================================
33
34#include "dsp_global.h"
35
36//=============================================================================================================
37// EIGEN INCLUDES
38//=============================================================================================================
39
40#include <Eigen/Core>
41
42//=============================================================================================================
43// DEFINE NAMESPACE UTILSLIB
44//=============================================================================================================
45
46namespace UTILSLIB
47{
48
49//=============================================================================================================
54{
55 Eigen::MatrixXd matTapers;
56 Eigen::VectorXd vecEigenvalues;
57};
58
59//=============================================================================================================
75{
76public:
77 //=========================================================================================================
86 static DpssResult compute(int N, double halfBandwidth, int nTapers = -1);
87};
88
89} // namespace UTILSLIB
90
91#endif // DPSS_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).
Result of a DPSS taper computation.
Definition dpss.h:54
Eigen::MatrixXd matTapers
nTapers × N, each row is a unit-norm taper
Definition dpss.h:55
Eigen::VectorXd vecEigenvalues
Concentration ratios, length nTapers.
Definition dpss.h:56
Discrete Prolate Spheroidal Sequences (Slepian tapers).
Definition dpss.h:75
static DpssResult compute(int N, double halfBandwidth, int nTapers=-1)
Definition dpss.cpp:48