Commit 6d7adcf9 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

libpsdxx [FIX]: apply FFT to padded series

parent bd910cab
......@@ -301,9 +301,9 @@ namespace psd {
if (cpsd_flag) { hanning_taper.apply(series2); }
// compute FFT
Tfft::Tspectrum coeff1=fft(series1, dt);
Tfft::Tspectrum coeff1=fft(paddedseries1, dt);
Tfft::Tspectrum coeff2;
if (cpsd_flag) { coeff2=fft(series2, dt); }
if (cpsd_flag) { coeff2=fft(paddedseries2, dt); }
// allocate space for results
if (isegment==0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment