https://github.com/agramfort/mne-python/blob/ba45d4b2489238928ecfcd6cf418d49cc5f1d86e/mne/epochs.py#L37

@TalLinzen we backported in1d -- see fixes.