You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keeping event names when combining channel on epochs objects #11784
When we create a new mne.Epochs instance through mne.channels.combine_channels, the newly created instance should have the same event id and event names than the input instance. However, the new instance contains only the events array (coming from mne.Epochs.events) but not the dictionary mapping the id to their corresponding names (coming from mne.Epochs.event_id).
Therefore the implementation would be to add in mne.channels.combine_channels a way to take account the event mapping from the input instance.
Proposed implementation
I will just add event_id = inst.event_id when calling mne.EpochsArray in mne.channels.combine_channels
Activity
welcome commentedon Jul 7, 2023
Hello! 👋 Thanks for opening your first issue here! ❤️ We will try to get back to you soon. 🚴