#include <freqest.h>
Public Member Functions | |
FreqEstimation (tfuncIC ic, bool eigenvalue_method, bool mvdl) | |
Public Member Functions inherited from SpectrumSolver | |
void | exec (const std::vector< std::complex< double > > &memin, std::vector< std::complex< double > > &memout, int t0, double tol, FFT::twindowfunc windowfunc, double windowlength) throw (XKameError&) |
Perform spectrum analysis. | |
const std::vector < std::complex< double > > & | ifft () const |
const std::vector< std::pair < double, double > > & | peaks () const |
virtual bool | isFT () const |
Protected Member Functions | |
virtual void | genSpectrum (const std::vector< std::complex< double > > &memin, std::vector< std::complex< double > > &memout, int t0, double tol, FFT::twindowfunc windowfunc, double windowlength) |
Protected Member Functions inherited from SpectrumSolver | |
virtual bool | hasWeighting () const |
If false, perform rectangular windowing before solver process. | |
double | numberOfNoises (const std::vector< std::complex< double > > &memin) |
void | genIFFT (const std::vector< std::complex< double > > &wavein) |
double | lspe (const std::vector< std::complex< double > > &wavein, int origin, const std::vector< double > &psd, std::vector< std::complex< double > > &waveout, double tol, bool powfit, FFT::twindowfunc windowfunc) |
double | stepLSPE (const std::vector< std::complex< double > > &wavein, int origin, const std::vector< double > &psd, std::vector< std::complex< double > > &waveout, bool powfit, double &coeff, const std::vector< double > &weight) |
int | fftlen () const |
void | autoCorrelation (const std::vector< std::complex< double > > &wave, std::vector< std::complex< double > > &corr) |
Protected Attributes | |
const bool | m_eigenvalue_method |
const bool | m_mvdl_method |
const tfuncIC | m_funcIC |
Protected Attributes inherited from SpectrumSolver | |
std::vector< std::complex < double > > | m_ifft |
std::vector< std::pair< double, double > > | m_peaks |
shared_ptr< FFT > | m_fftN |
shared_ptr< FFT > | m_ifftN |
shared_ptr< FFT > | m_fftRX |
For autocorrelation. | |
shared_ptr< FFT > | m_ifftRX |
Additional Inherited Members | |
Public Types inherited from SpectrumSolver | |
typedef double(* | tfuncIC )(double sigma2, int p, int t) |
Static Public Member Functions inherited from SpectrumSolver | |
static double | icAIC (double loglikelifood, int k, int n) |
static double | icAICc (double loglikelifood, int k, int n) |
static double | icHQ (double loglikelifood, int k, int n) |
static double | icMDL (double loglikelifood, int k, int n) |
static double | windowLength (int tdlen, int t0, double windowlength) |
static void | window (int t, int t0, FFT::twindowfunc windowfunc, double windowlength, std::vector< double > &window) |
Create a window waveform. | |
Frequency estimation. Base class for MUSIC and EIG.