#include <orsa_fft.h>
Public Member Functions | |
FFT (OrbitStream &, FFTPowerSpectrum &, std::vector< Peak > &, FFTDataStream &) | |
void | Search (FFTSearch, FFTAlgorithm=algo_FFT) |
void | Search (FFTSearchAmplitude, FFTSearchPhase, FFTAlgorithm=algo_FFT) |
Public Attributes | |
std::vector< int > | candidate_bin |
frequency range parameters | |
double | relative_amplitude |
bool | HiResSpectrum |
gsl_d1_minimization_parameters | par |
gsl_function | F |
gsl_min_fminimizer * | s |
const gsl_min_fminimizer_type * | T |
FFTDataStream | data_stream |
unsigned int | nfreq |
Protected Attributes | |
std::vector< double > | psd |
FFTPowerSpectrum * | fps |
std::vector< Peak > * | peaks |
OrbitStream * | os |
FFTDataStream * | reconstructed_data_stream |
Definition at line 110 of file orsa_fft.h.
FFT | ( | OrbitStream & | , | |
FFTPowerSpectrum & | , | |||
std::vector< Peak > & | , | |||
FFTDataStream & | ||||
) |
void Search | ( | FFTSearch | se, | |
FFTAlgorithm | algo = algo_FFT | |||
) |
Definition at line 787 of file orsa_fft.cc.
References orsa::algo_FFT, orsa::algo_FFTB, orsa::algo_FMFT1, orsa::algo_FMFT2, and orsa::algo_MFT.
00787 { 00788 00789 FillDataStream(se); 00790 00791 if (algo==algo_FFT) { 00792 Search_FFT(); 00793 } else if (algo==algo_FFTB) { 00794 Search_FFTB(); 00795 } else if (algo==algo_MFT) { 00796 Search_MFT(); 00797 } else if (algo==algo_FMFT1) { 00798 Search_FMFT1(); 00799 } else if (algo==algo_FMFT2) { 00800 Search_FMFT2(); 00801 } 00802 00803 ComputeCommonPowerSpectrum(); 00804 ComputeCommonReconstructedSignal(); 00805 00806 }
void Search | ( | FFTSearchAmplitude | sa, | |
FFTSearchPhase | sp, | |||
FFTAlgorithm | algo = algo_FFT | |||
) |
Definition at line 808 of file orsa_fft.cc.
References orsa::algo_FFT, orsa::algo_FFTB, orsa::algo_FMFT1, orsa::algo_FMFT2, and orsa::algo_MFT.
00808 { 00809 00810 FillDataStream(sa,sp); 00811 00812 if (algo==algo_FFT) { 00813 Search_FFT(); 00814 } else if (algo==algo_FFTB) { 00815 Search_FFTB(); 00816 } else if (algo==algo_MFT) { 00817 Search_MFT(); 00818 } else if (algo==algo_FMFT1) { 00819 Search_FMFT1(); 00820 } else if (algo==algo_FMFT2) { 00821 Search_FMFT2(); 00822 } 00823 00824 ComputeCommonPowerSpectrum(); 00825 ComputeCommonReconstructedSignal(); 00826 00827 }
std::vector<int> candidate_bin |
double relative_amplitude |
Definition at line 135 of file orsa_fft.h.
bool HiResSpectrum |
Definition at line 143 of file orsa_fft.h.
Definition at line 152 of file orsa_fft.h.
gsl_function F |
Definition at line 153 of file orsa_fft.h.
gsl_min_fminimizer* s |
Definition at line 154 of file orsa_fft.h.
const gsl_min_fminimizer_type* T |
Definition at line 155 of file orsa_fft.h.
std::vector<double> psd [protected] |
Definition at line 158 of file orsa_fft.h.
FFTPowerSpectrum* fps [protected] |
Definition at line 159 of file orsa_fft.h.
Definition at line 161 of file orsa_fft.h.
OrbitStream* os [protected] |
Definition at line 162 of file orsa_fft.h.
FFTDataStream* reconstructed_data_stream [protected] |
Definition at line 164 of file orsa_fft.h.
Definition at line 167 of file orsa_fft.h.
unsigned int nfreq |
Definition at line 170 of file orsa_fft.h.