mne-tools / mne-tools/mne-python
support user-defined event fields in mne.read_epochs_eeglab()
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 1.6k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 100
Description
Hi 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing mne.read_epochs_eeglab() and how it currently handles EEGLAB's default event fields. Determine how a custom field such as behaviour should be exposed in MNE, then verify that custom event values remain accessible for imported epochs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100