I did the debugging of extace and I found out the problem:
In main.c there is a line:
plan = fftw_plan_r2r_1d(nsamp, raw_fft_in,raw_fft_out, FFTW_R2HC, FFTW_FORWARD|FFTW_ESTIMATE);
You need to remove FFTW_FORWARD and the line becomes:
plan = fftw_plan_r2r_1d(nsamp, raw_fft_in,raw_fft_out, FFTW_R2HC, FFTW_ESTIMATE);
Now it works perfectly. It seems that fftw refuses to make a fft plan with FFTW_R2HC & FFTW_FORWARD (FFTW_R2HC already implies forward fft).
Paul
I did the debugging of extace and I found out the problem: r2r_1d( nsamp, raw_fft_ in,raw_ fft_out, FFTW_R2HC, FFTW_FORWARD| FFTW_ESTIMATE) ;
In main.c there is a line:
plan = fftw_plan_
You need to remove FFTW_FORWARD and the line becomes:
plan = fftw_plan_ r2r_1d( nsamp, raw_fft_ in,raw_ fft_out, FFTW_R2HC, FFTW_ESTIMATE);
Now it works perfectly. It seems that fftw refuses to make a fft plan with FFTW_R2HC & FFTW_FORWARD (FFTW_R2HC already implies forward fft).
Paul