Back to the main page.

Bug 3395 - implement decimation to approximately 1Hz

Reported 2018-01-07 16:14:00 +0100
Modified 2019-08-10 12:36:50 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to: Robert Oostenveld
Depends on:
Blocks: 3385
See also:

Robert Oostenveld - 2018-01-07 16:14:56 +0100

this is convenient for EDA and other slowly varying data. Rather than using resample, this should support taking the mean and median over a small block of samples.

Robert Oostenveld - 2018-01-07 16:16:49 +0100

[bug3395-decimate 5fcbfd3] ENH - implemented decimation using MATLAB function, and block-wise mean and median as desimation strategies. See 1 file changed, 135 insertions(+), 71 deletions(-) this is still on a personal branch that I need to test before merging

Robert Oostenveld - 2018-01-07 16:23:02 +0100

I noticed a bug in the way that the resampled time axis is constructed: it is shifted.

Robert Oostenveld - 2018-01-24 23:59:52 +0100

(In reply to Robert Oostenveld from comment #2) I have fixed this as well, and merged it all.

Robert Oostenveld - 2019-08-10 12:36:50 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue on