Protected Member Functions | List of all members
FFTSolver Class Reference

Zero-filled FFT spectrum solver. More...

#include <spectrumsolver.h>

Inheritance diagram for FFTSolver:
Inheritance graph
[legend]

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.
 
virtual bool isFT () const
 
- 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)
 

Additional Inherited Members

- Public Types inherited from SpectrumSolver
typedef double(* tfuncIC )(double sigma2, int p, int t)
 
- 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
 
- 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

Zero-filled FFT spectrum solver.

Definition at line 97 of file spectrumsolver.h.


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

Generated for KAME4 by  doxygen 1.8.3