brainstorm3 icon indicating copy to clipboard operation
brainstorm3 copied to clipboard

[EDF] reading EDF using fieldtrip

Open Edouard2laire opened this issue 1 year ago • 2 comments

Hello,

The main point of this PR is to use fieldtrip to open edf containing multiple frequencies as the reader of edf is automatically resampling signals with different frequencies.

it's a bit hacky but it seems to be working and it might be easier than rewritting our current edf reader to account for different frequencies

Edouard

Edit: performance can be nicely improved by not saving the .mat file and giving directly the data structure to in_data_fieldtrip. I will do that If you think the rest of the PR is ok :)

Edouard2laire avatar Mar 05 '24 18:03 Edouard2laire

hi @rcassani,

What do you think of that PR? Would that solution be ok for you?

Edouard2laire avatar Mar 18 '24 14:03 Edouard2laire

up :) i think this is a good solution for now; we can remove it when brainstorm supports edf with multiple frequency :)

Edouard2laire avatar Jun 20 '24 13:06 Edouard2laire