mne-tools/mne-python — pull request #1231 by dengemann (2014-04-19 08:18:44+00:00)
Title: API/ENH: better handling of STI 014 synthesis

This improves the success rate of STI 014 assembly on reading data. The problem is that on combining experiment related and machine related event codes like sync mutually non-exclusive events may emerge. This is now avoided by either directly selecting the relevant channels or by excluding the ones that e.g. only have one event or are clearly machine related such as `sync`.
To simplify the API I dropped the event_id parameter and added include / exclude parameters that allow to select the relevant channels.

cc @mluessi @fraimondo @sebastienmarti @agramfort