Public Member Functions | Protected Member Functions | Private Attributes | List of all members
FreqEstLeastSquare Class Reference

#include <freqestleastsquare.h>

Inheritance diagram for FreqEstLeastSquare:
Inheritance graph
[legend]

Public Member Functions

 FreqEstLeastSquare (tfuncIC ic)
 
- 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)
 
virtual bool hasWeighting () const
 If false, perform rectangular windowing before solver process.
 
- Protected Member Functions inherited from SpectrumSolver
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)
 

Private Attributes

const tfuncIC m_funcIC
 

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.
 
- Protected Attributes inherited from SpectrumSolver
std::vector< std::complex
< double > > 
m_ifft
 
std::vector< std::pair< double,
double > > 
m_peaks
 
shared_ptr< FFTm_fftN
 
shared_ptr< FFTm_ifftN
 
shared_ptr< FFTm_fftRX
 For autocorrelation.
 
shared_ptr< FFTm_ifftRX
 

Detailed Description

Frequency estimation by least square fit. Number of signals is determined by information criterion.

Definition at line 21 of file freqestleastsquare.h.


The documentation for this class was generated from the following files:

Generated for KAME4 by  doxygen 1.8.3