Detrending the data

Concerning processing components: filters, file load/save, visualizations, communication ...
Post Reply
Equis
Posts: 9
Joined: Tue Apr 14, 2015 2:35 pm

Detrending the data

Post 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.

Equis
Posts: 9
Joined: Tue Apr 14, 2015 2:35 pm

Re: Detrending the data

Post 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.
Attachments
PB_cal.xml
(59.57 KiB) Downloaded 299 times

fabien.lotte
Posts: 112
Joined: Sun Mar 14, 2010 12:58 pm

Re: Detrending the data

Post 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

Post Reply