Hi Couturier,
This is a bug (ORG-5455) which have been fixed since 9.0. You can use the below workaround:
int FFT_lowpass(vector& vX, vector& vY, vector & vecOutHPFiltering, double fcutoff)
{
//vecOutHPFiltering = vY;
int n = vecOutHPFiltering.GetSize();
double dTimeStep = vX[1] - vX[0];
double dFreq = 1/dTimeStep;
double dFreqStep = 1.0/n;
double dCutoff = fcutoff/dFreq;
vector v1;
v1 = vY;
//fft_lowpass_filtering( n, vecOutHPFiltering, dFreqStep, dCutoff);
fft_lowpass_filtering( n, v1, dFreqStep, dCutoff);
vecOutHPFiltering = v1;
return 0;
}
Thanks,
Shirley
Originlab Technical Service Team