warmlogic / mat-mvm

MATLAB tools for importing and analyzing EEG data with FieldTrip (mostly)
GNU General Public License v3.0
4 stars 6 forks source link

Reading segmented EGI raw files with fieldtrip in Matlab #3

Open errrrrrr opened 6 years ago

errrrrrr commented 6 years ago

I have problem with reading data from NetStation with fieldtrip in Matlab

I have a .raw file, and additional files: .epoc and .hist My research advisor said, that EEG recording is segmented and info about segments is stored in .epoc file. They have already analysed with fieldtrip files with the same extensions, but I couldn't find any tutorial or description on how to manage such data format. It seems the main problem is that I don't understand the workflow clearly, and can't start anywhere. Maybe someone could point me out, please? I'm using Matlab 2014b, and the latest version of fieldtrip.

warmlogic commented 6 years ago

@errrrrrr, apologies for not having a clearly explained workflow. This is a repo that I used during grad school and haven't touched in 3+ years, so my memory is a little fuzzy. I also never really expected anyone else to use it. :)

I never used .epoc and .hist files in conjunction with .raw files, so I'm not sure what to suggest there. My Matlab and NetStation using days are long gone... You could try looking at the script ebird/ebird_ft_seg_tla.m; there's lots of setup at the top, but eventually it runs a function called create_ft_struct_multiSes, which actually creates a struct of the data. Then ebird/ebird_tla.m does a timelock analysis. Or look for similarly named files in the space directory (in this experiment, I started using the mff netstation file format).

That's really all the support I can provide at this point. It'll require some trial and error if you want to use this. Good luck!