-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into feature/TD-nirs_snirf
* upstream/main: eegbci api: allow downloading multiple subjects (#12918) DOC: Document Linux desktop workaround (#12900) Allow exporting edf where a channel contains only constant values (#12911) Autogenerate environment.yml file from pyproject.toml (#12914)
- Loading branch information
Showing
24 changed files
with
329 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Allow exporting edf where a channel contains only constant values, by `Florian Hofer`_. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Deprecate ``subject`` parameter in favor of ``subjects`` in :func:`mne.datasets.eegbci.load_data`, by `Stefan Appelhoff`_. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,61 @@ | ||
# THIS FILE IS AUTO-GENERATED BY tools/hooks/update_environment_file.py AND WILL BE OVERWRITTEN | ||
name: mne | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python >=3.10 | ||
- pip | ||
- numpy | ||
- scipy | ||
- openblas | ||
- matplotlib | ||
- tqdm | ||
- pooch>=1.5 | ||
- antio >=0.4.0 | ||
- darkdetect | ||
- decorator | ||
- h5io | ||
- packaging | ||
- numba | ||
- pandas | ||
- pyarrow | ||
- xlrd | ||
- scikit-learn | ||
- defusedxml | ||
- dipy | ||
- edfio >=0.2.1 | ||
- eeglabio | ||
- h5io >=0.2.4 | ||
- h5py | ||
- jinja2 | ||
- pillow | ||
- statsmodels | ||
- jupyter | ||
- ipython !=8.7.0 | ||
- joblib | ||
- psutil | ||
- numexpr | ||
- imageio | ||
- spyder-kernels >=1.10.0 | ||
- imageio >=2.6.1 | ||
- imageio-ffmpeg >=0.4.1 | ||
- vtk >=9.2 | ||
- traitlets | ||
- pyvista >=0.32,!=0.35.2,!=0.38.0,!=0.38.1,!=0.38.2,!=0.38.3,!=0.38.4,!=0.38.5,!=0.38.6,!=0.42.0 | ||
- pyvistaqt >=0.4 | ||
- qdarkstyle !=3.2.2 | ||
- darkdetect | ||
- dipy | ||
- ipyevents | ||
- ipympl | ||
- ipython !=8.7.0 | ||
- ipywidgets | ||
- jinja2 | ||
- joblib | ||
- jupyter | ||
- lazy_loader >=0.3 | ||
- matplotlib >=3.6 | ||
- mffpy >=0.5.7 | ||
- mne-qt-browser | ||
- nibabel | ||
- openmeeg >=2.5.5 | ||
- nilearn | ||
- numba | ||
- numpy >=1.23,<3 | ||
- openmeeg >=2.5.5 | ||
- packaging | ||
- pandas | ||
- pillow | ||
- pip | ||
- pooch >=1.5 | ||
- pyarrow | ||
- pybv | ||
- pymatreader | ||
- PySide6 !=6.8.0,!=6.8.0.1 | ||
- python-neo | ||
- python-picard | ||
- pyvista >=0.32,!=0.35.2,!=0.38.0,!=0.38.1,!=0.38.2,!=0.38.3,!=0.38.4,!=0.38.5,!=0.38.6,!=0.42.0 | ||
- pyvistaqt >=0.4 | ||
- qdarkstyle !=3.2.2 | ||
- qtpy | ||
- pyside6 !=6.8.0,!=6.8.0.1 | ||
- mne-base | ||
- seaborn-base | ||
- mffpy >=0.5.7 | ||
- ipyevents | ||
- ipywidgets | ||
- ipympl | ||
- scikit-learn | ||
- scipy >=1.9 | ||
- sip | ||
- snirf | ||
- statsmodels | ||
- threadpoolctl | ||
- tqdm | ||
- traitlets | ||
- trame | ||
- trame-vtk | ||
- trame-vuetify | ||
- jupyter_client | ||
- nbformat | ||
- nbclient | ||
- mne-qt-browser | ||
- pymatreader | ||
- eeglabio | ||
- edfio >=0.2.1 | ||
- pybv | ||
- mamba | ||
- lazy_loader | ||
- defusedxml | ||
- python-neo | ||
- vtk >=9.2 | ||
- xlrd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,9 @@ | |
See https://en.wikipedia.org/wiki/Common_spatial_pattern and | ||
:footcite:`Koles1991`. The EEGBCI dataset is documented in | ||
:footcite:`SchalkEtAl2004` and is available at PhysioNet | ||
:footcite:`GoldbergerEtAl2000`. | ||
:footcite:`SchalkEtAl2004` and on the | ||
`PhysioNet documentation page <https://physionet.org/content/eegmmidb/1.0.0/>`_. | ||
The dataset is available at PhysioNet :footcite:`GoldbergerEtAl2000`. | ||
""" | ||
# Authors: Martin Billinger <[email protected]> | ||
# | ||
|
@@ -40,15 +41,15 @@ | |
# avoid classification of evoked responses by using epochs that start 1s after | ||
# cue onset. | ||
tmin, tmax = -1.0, 4.0 | ||
subject = 1 | ||
subjects = 1 | ||
runs = [6, 10, 14] # motor imagery: hands vs feet | ||
|
||
raw_fnames = eegbci.load_data(subject, runs) | ||
raw_fnames = eegbci.load_data(subjects, runs) | ||
raw = concatenate_raws([read_raw_edf(f, preload=True) for f in raw_fnames]) | ||
eegbci.standardize(raw) # set channel names | ||
montage = make_standard_montage("standard_1005") | ||
raw.set_montage(montage) | ||
raw.annotations.rename(dict(T1="hands", T2="feet")) | ||
raw.annotations.rename(dict(T1="hands", T2="feet")) # as documented on PhysioNet | ||
raw.set_eeg_reference(projection=True) | ||
|
||
# Apply band-pass filter | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.