https://github.com/mne-tools/mne-python/commit/50c51c46bfc3be412bb2920e714ad8087895980f