support user-defined event fields in mne.read_epochs_eeglab()
See original GitHub issueHi all,
EEGLAB supports adding custom field names in the event structure, on top of the default ones (type
, latency
, duration
, urevent
, epoch
) :
https://sccn.ucsd.edu/wiki/Chapter_03:_Event_Processing#Event_fields
For instance I use a behaviour
field to store the subjects responses on each epoch.
It would be very useful if one could somehow access those custom fields in MNE (maybe the option already exists but I haven’t found it).
Best wishes, Nicolas
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:23 (23 by maintainers)
Top Results From Across the Web
mne.Epochs — MNE 1.2.2 documentation - MNE-Python
Load all epochs from disk when creating the object or wait before accessing ... Plot Event Related Potential / Fields image on topographies....
Read more >Creating epochs with variable event latencies - Support ...
How to read all fields from EEG.event / any workaround to import them from csv and then using it? ... In the discussion,...
Read more >b. Events - EEGLAB Wiki
The EEG event structure contains records of the experimental events that occurred while the data was being recorded. To view the information for...
Read more >Pybrain: M/EEG analysis with MNE Python - YouTube
Richard Höchenberger's workshop on MNE Python, recorded 16-17 ... raw data 01:35:57 Working with BIDS data 02:29:32 Creating epochs and ...
Read more >Import and export data to and from MNE-Python
Therefore, we will need to import and export Raw, Epochs, and Evoked datatypes. The aim is to pass the channel=level data between FieldTrip...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We could add links to gists in the FAQ
I have used something like this in the past to get info from the set file to a pandas dataframe:
it worked in my usecases - it goes through all EEG.event elements and extracts relevant fields so that every row in returned dataframe correspons to one EEG.event. You might not need the
uint16_codec
argument when reading your set files though. (and may have been more elegant withstruct_as_record=True
… 😃 )