arnodelorme / mffmatlabio

MFF Matlab file importer and exporter
GNU General Public License v3.0
11 stars 15 forks source link

creating a new mff file #30

Closed ometett closed 3 years ago

ometett commented 3 years ago

Hi Arno,

I fixed all my errors thanks to your guidance, my code works fine, but I also would like to be able to crop some data out of my EEG(.mff) file. Like for example, I want to delete the portion of the data from second 0 to second 10 but I could not find a built in function or anything like that to do that. I know that for edf files there is edfread function in matlab to help you that but I wonder if there is some way to able to do the same thing with .mff files. If you could help me I would appreciate it! Thanks for the time.

Regards,

arnodelorme commented 3 years ago

You may use EEGLAB menu item “Edit > Select data”

Or use the pop_select(EEG, …)

function. You can use fieldtrip2eeglab.m and eeglab2fieldtrip.m to convert the data back and forth from Fieldtrip to EEGLAB. Cheers,

Arno

On Jul 29, 2020, at 11:49 AM, ometett notifications@github.com wrote:

Hi Arno,

I fixed all my errors thanks to your guidance, my code works fine, but I also would like to be able to crop some data out of my EEG(.mff) file. Like for example, I want to delete the portion of the data from second 0 to second 10 but I could not find a built in function or anything like that to do that. I know that for edf files there is edfread function in matlab to help you that but I wonder if there is some way to able to do the same thing with .mff files. If you could help me I would appreciate it! Thanks for the time.

Regards,

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ometett commented 3 years ago

would pop_select function work with .mff files ?

Regards,

arnodelorme commented 3 years ago

Yes, it is an EEGLAB function