#include <iostream>
#include <complex>
#include <fftw.h>
#include <gsl/gsl_heapsort.h>
#include "orsa_fft.h"
#include "orsa_common.h"
Include dependency graph for orsa_fft.cc:
Go to the source code of this file.
Namespaces | |
namespace | orsa |
Functions | |
double | norm (const fftw_complex z) |
double | norm_sq (const fftw_complex z) |
fftw_complex | phi (double omega, fftw_complex in[], const int size) |
Discrete Fourier Transform. | |
fftw_complex | phi_Hanning (double omega, fftw_complex in[], const int size) |
Discrete Fourier Transform with Hanning windowing. | |
double | phi_amp (double omega, fftw_complex in[], const int size) |
amplitude for spectrum, without windowing | |
double | phi_Hanning_amp (double omega, fftw_complex in[], const int size) |
amplitude for spectrum, with Hanning windowing | |
double | phi_gsl (double x, void *params) |
double | phi_gsl_two (double x, void *params) |
double | phi_Hanning_gsl (double x, void *params) |
int | compare_binamp (const binamp *a, const binamp *b) |
sort binamp struct from the bigger to the smaller... | |
double | psd_max_again (const fftw_complex *transformed_signal, const int size) |
void | psd_max_again_many (const fftw_complex *transformed_signal, const int size, vector< double > &candidate, const unsigned int nfreq) |
double | psd_max (const fftw_complex *transformed_signal, const int size) |
void | apply_window (fftw_complex *signal_win, fftw_complex *signal, int size) |
void | amph (double *amp, double *phase, fftw_complex *phiR, fftw_complex *phiL, double freq, fftw_complex *in, int size) |
double | accurate_peak (double left, double center, double right, fftw_complex *in, int size) |
double | dQ (double y) |