mne-tools/mne-python — pull request #16 by agramfort (2012-01-06 08:00:11+00:00)
Title: Simpler events handling

attempt to simplify handling of events with pick_events / include / exclude like for channels.

I'd like to be able to do :

>>> events = mne.pick_events(events, include=event_id)
>>> epochs = mne.Epochs(raw, events, tmin=tmin, tmax=tmax)

instead of requiring to specify an event_id with :

>>> epochs = mne.Epochs(raw, events, event_id, tmin=tmin, tmax=tmax)

thoughts?