Page 1 of 1

Detrending the data

Posted: Fri Jun 19, 2015 3:05 pm
by Equis
Hi everyone,

I want to detrend my signal online adquired, but I'm really stuck. I've tried substracting a MA from the original data, but it didn't work.รง

Could you help me?

Thank you and regards.

Re: Detrending the data

Posted: Sat Jun 20, 2015 11:51 am
by Equis
Well, I think I've achieve it.

Now, after many hours triying it, I have to re-join my epochs, I mean, concatenate all the epochs in a single one.

Any idea? Thank you.

I attach the scenario.

Re: Detrending the data

Posted: Mon Jun 22, 2015 3:23 pm
by fabien.lotte
We used to have detrending functions in OpenViBE (first order and second order detrending - i.e., simply subtracting the value of one sample for that of the previous one).
But those detrending, as are moving average, as in fact a temporal filters. So the cleanest way of doing that would be by specifying coefficients of a temporal filter, or simply by using a high-pass filter to remove the trend (i.e., the low frequencies).

I hope this helps,

Best regards,
Fabien