#include <fft_analysis.h>
Public メソッド | |
FftAnalysis (size_t window_size) | |
FftAnalysis (const WindowFunction &window) | |
~FftAnalysis () throw () | |
void | initialize () |
void | execute_fourier_transform (std::vector< double >::const_iterator first, std::vector< FftComplex > &spectrum) |
void | execute_fourier_transform (const std::vector< double > &signal, std::vector< FftComplex > &spectrum) |
void | execute_DCTransform (std::vector< double >::const_iterator first, std::vector< double > &spectrum) |
void | execute_DCTransform (const std::vector< double > &signal, std::vector< double > &spectrum) |
void | execute_inverse_transform (const std::vector< FftComplex > &spectrum, std::vector< double > &signal, bool windowed=true) |
Private メソッド | |
fftw_complex * | alloc_fft_location (size_t size) const |
void | free_fft_location (fftw_complex *ptr) const |
Private 変数 | |
const WindowFunction & | window_ |
size_t | win_size_ |
fftw_plan | p_c2r_ |
fftw_plan | p_r2c_ |
fftw_plan | p_r2r_ |
double * | r_data_ |
double * | r_out_data_ |
fftw_complex * | c_data_ |
FftAnalysis::FftAnalysis | ( | size_t | window_size | ) |
FftAnalysis::FftAnalysis | ( | const WindowFunction & | window | ) |
FftAnalysis::~FftAnalysis | ( | ) | throw () |
fftw_complex * FftAnalysis::alloc_fft_location | ( | size_t | size | ) | const [private] |
void FftAnalysis::execute_DCTransform | ( | const std::vector< double > & | signal, | |
std::vector< double > & | spectrum | |||
) |
void FftAnalysis::execute_DCTransform | ( | std::vector< double >::const_iterator | first, | |
std::vector< double > & | spectrum | |||
) |
void FftAnalysis::execute_fourier_transform | ( | std::vector< double >::const_iterator | first, | |
std::vector< FftComplex > & | spectrum | |||
) |
void FftAnalysis::execute_fourier_transform | ( | const std::vector< double > & | signal, | |
std::vector< FftComplex > & | spectrum | |||
) |
void FftAnalysis::execute_inverse_transform | ( | const std::vector< FftComplex > & | spectrum, | |
std::vector< double > & | signal, | |||
bool | windowed = true | |||
) |
void FftAnalysis::free_fft_location | ( | fftw_complex * | ptr | ) | const [private] |
void FftAnalysis::initialize | ( | ) |
fftw_complex* FftAnalysis::c_data_ [private] |
fftw_plan FftAnalysis::p_c2r_ [private] |
fftw_plan FftAnalysis::p_r2c_ [private] |
fftw_plan FftAnalysis::p_r2r_ [private] |
double* FftAnalysis::r_data_ [private] |
double * FftAnalysis::r_out_data_ [private] |
size_t FftAnalysis::win_size_ [private] |
const WindowFunction& FftAnalysis::window_ [private] |