├── .gitattributes ├── .github └── workflows │ ├── docs.yml │ ├── python_tests.yml │ └── ruff.yml ├── .gitignore ├── LICENSE ├── MANIFEST.in ├── README.rst ├── docs ├── _static │ └── css │ │ └── custom.css ├── api.rst ├── changelog.rst ├── conf.py ├── contributing.rst ├── faq.rst ├── index.rst └── quickstart.rst ├── notebooks ├── 01_spindles_detection.ipynb ├── 02_spindles_detection_multi.ipynb ├── 03_spindles_detection_NREM_only.ipynb ├── 04_spindles_slow_fast.ipynb ├── 05_sw_detection.ipynb ├── 06_sw_detection_multi.ipynb ├── 07_REMs_detection.ipynb ├── 08_bandpower.ipynb ├── 09_IRASA.ipynb ├── 10_spectrogram.ipynb ├── 11_nonlinear_features.ipynb ├── 12_SO-sigma_coupling.ipynb ├── 13_artifact_rejection.ipynb ├── 14_automatic_sleep_staging.ipynb ├── 15_topoplot.ipynb ├── 16_EEG-HRV_coupling.ipynb ├── 20_plot_gallery.ipynb └── run_visbrain.py ├── paper ├── abstract_WSC19.md └── paper.md ├── push_pypi.md ├── pyproject.toml ├── src └── yasa │ ├── __init__.py │ ├── classifiers │ ├── __init__.py │ ├── clf_eeg+demo_lgb_0.5.0.joblib │ ├── clf_eeg+emg+demo_lgb_0.5.0.joblib │ ├── clf_eeg+emg_lgb_0.5.0.joblib │ ├── clf_eeg+eog+demo_lgb_0.5.0.joblib │ ├── clf_eeg+eog+emg+demo_lgb_0.4.0.joblib │ ├── clf_eeg+eog+emg+demo_lgb_0.5.0.joblib │ ├── clf_eeg+eog+emg_lgb_0.4.0.joblib │ ├── clf_eeg+eog+emg_lgb_0.5.0.joblib │ ├── clf_eeg+eog_lgb_0.4.0.joblib │ ├── clf_eeg+eog_lgb_0.5.0.joblib │ ├── clf_eeg_lgb_0.4.0.joblib │ └── clf_eeg_lgb_0.5.0.joblib │ ├── detection.py │ ├── evaluation.py │ ├── features.py │ ├── fetchers.py │ ├── heart.py │ ├── hypno.py │ ├── io.py │ ├── numba.py │ ├── others.py │ ├── plotting.py │ ├── sleepstats.py │ ├── spectral.py │ └── staging.py └── tests ├── __init__.py ├── test_detection.py ├── test_fetchers.py ├── test_heart.py ├── test_hypno.py ├── test_hypnoclass.py ├── test_io.py ├── test_numba.py ├── test_others.py ├── test_plotting.py ├── test_sleepstats.py ├── test_spectral.py └── test_staging.py /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/.github/workflows/docs.yml -------------------------------------------------------------------------------- /.github/workflows/python_tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/.github/workflows/python_tests.yml -------------------------------------------------------------------------------- /.github/workflows/ruff.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/.github/workflows/ruff.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/README.rst -------------------------------------------------------------------------------- /docs/_static/css/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/docs/_static/css/custom.css -------------------------------------------------------------------------------- /docs/api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/docs/api.rst -------------------------------------------------------------------------------- /docs/changelog.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/docs/changelog.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/contributing.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/docs/contributing.rst -------------------------------------------------------------------------------- /docs/faq.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/docs/faq.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/quickstart.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/docs/quickstart.rst -------------------------------------------------------------------------------- /notebooks/01_spindles_detection.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/01_spindles_detection.ipynb -------------------------------------------------------------------------------- /notebooks/02_spindles_detection_multi.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/02_spindles_detection_multi.ipynb -------------------------------------------------------------------------------- /notebooks/03_spindles_detection_NREM_only.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/03_spindles_detection_NREM_only.ipynb -------------------------------------------------------------------------------- /notebooks/04_spindles_slow_fast.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/04_spindles_slow_fast.ipynb -------------------------------------------------------------------------------- /notebooks/05_sw_detection.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/05_sw_detection.ipynb -------------------------------------------------------------------------------- /notebooks/06_sw_detection_multi.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/06_sw_detection_multi.ipynb -------------------------------------------------------------------------------- /notebooks/07_REMs_detection.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/07_REMs_detection.ipynb -------------------------------------------------------------------------------- /notebooks/08_bandpower.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/08_bandpower.ipynb -------------------------------------------------------------------------------- /notebooks/09_IRASA.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/09_IRASA.ipynb -------------------------------------------------------------------------------- /notebooks/10_spectrogram.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/10_spectrogram.ipynb -------------------------------------------------------------------------------- /notebooks/11_nonlinear_features.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/11_nonlinear_features.ipynb -------------------------------------------------------------------------------- /notebooks/12_SO-sigma_coupling.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/12_SO-sigma_coupling.ipynb -------------------------------------------------------------------------------- /notebooks/13_artifact_rejection.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/13_artifact_rejection.ipynb -------------------------------------------------------------------------------- /notebooks/14_automatic_sleep_staging.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/14_automatic_sleep_staging.ipynb -------------------------------------------------------------------------------- /notebooks/15_topoplot.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/15_topoplot.ipynb -------------------------------------------------------------------------------- /notebooks/16_EEG-HRV_coupling.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/16_EEG-HRV_coupling.ipynb -------------------------------------------------------------------------------- /notebooks/20_plot_gallery.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/20_plot_gallery.ipynb -------------------------------------------------------------------------------- /notebooks/run_visbrain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/notebooks/run_visbrain.py -------------------------------------------------------------------------------- /paper/abstract_WSC19.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/paper/abstract_WSC19.md -------------------------------------------------------------------------------- /paper/paper.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/paper/paper.md -------------------------------------------------------------------------------- /push_pypi.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/push_pypi.md -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/yasa/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/__init__.py -------------------------------------------------------------------------------- /src/yasa/classifiers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/yasa/classifiers/clf_eeg+demo_lgb_0.5.0.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/classifiers/clf_eeg+demo_lgb_0.5.0.joblib -------------------------------------------------------------------------------- /src/yasa/classifiers/clf_eeg+emg+demo_lgb_0.5.0.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/classifiers/clf_eeg+emg+demo_lgb_0.5.0.joblib -------------------------------------------------------------------------------- /src/yasa/classifiers/clf_eeg+emg_lgb_0.5.0.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/classifiers/clf_eeg+emg_lgb_0.5.0.joblib -------------------------------------------------------------------------------- /src/yasa/classifiers/clf_eeg+eog+demo_lgb_0.5.0.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/classifiers/clf_eeg+eog+demo_lgb_0.5.0.joblib -------------------------------------------------------------------------------- /src/yasa/classifiers/clf_eeg+eog+emg+demo_lgb_0.4.0.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/classifiers/clf_eeg+eog+emg+demo_lgb_0.4.0.joblib -------------------------------------------------------------------------------- /src/yasa/classifiers/clf_eeg+eog+emg+demo_lgb_0.5.0.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/classifiers/clf_eeg+eog+emg+demo_lgb_0.5.0.joblib -------------------------------------------------------------------------------- /src/yasa/classifiers/clf_eeg+eog+emg_lgb_0.4.0.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/classifiers/clf_eeg+eog+emg_lgb_0.4.0.joblib -------------------------------------------------------------------------------- /src/yasa/classifiers/clf_eeg+eog+emg_lgb_0.5.0.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/classifiers/clf_eeg+eog+emg_lgb_0.5.0.joblib -------------------------------------------------------------------------------- /src/yasa/classifiers/clf_eeg+eog_lgb_0.4.0.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/classifiers/clf_eeg+eog_lgb_0.4.0.joblib -------------------------------------------------------------------------------- /src/yasa/classifiers/clf_eeg+eog_lgb_0.5.0.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/classifiers/clf_eeg+eog_lgb_0.5.0.joblib -------------------------------------------------------------------------------- /src/yasa/classifiers/clf_eeg_lgb_0.4.0.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/classifiers/clf_eeg_lgb_0.4.0.joblib -------------------------------------------------------------------------------- /src/yasa/classifiers/clf_eeg_lgb_0.5.0.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/classifiers/clf_eeg_lgb_0.5.0.joblib -------------------------------------------------------------------------------- /src/yasa/detection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/detection.py -------------------------------------------------------------------------------- /src/yasa/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/evaluation.py -------------------------------------------------------------------------------- /src/yasa/features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/features.py -------------------------------------------------------------------------------- /src/yasa/fetchers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/fetchers.py -------------------------------------------------------------------------------- /src/yasa/heart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/heart.py -------------------------------------------------------------------------------- /src/yasa/hypno.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/hypno.py -------------------------------------------------------------------------------- /src/yasa/io.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/io.py -------------------------------------------------------------------------------- /src/yasa/numba.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/numba.py -------------------------------------------------------------------------------- /src/yasa/others.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/others.py -------------------------------------------------------------------------------- /src/yasa/plotting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/plotting.py -------------------------------------------------------------------------------- /src/yasa/sleepstats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/sleepstats.py -------------------------------------------------------------------------------- /src/yasa/spectral.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/spectral.py -------------------------------------------------------------------------------- /src/yasa/staging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/src/yasa/staging.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/test_detection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/tests/test_detection.py -------------------------------------------------------------------------------- /tests/test_fetchers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/tests/test_fetchers.py -------------------------------------------------------------------------------- /tests/test_heart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/tests/test_heart.py -------------------------------------------------------------------------------- /tests/test_hypno.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/tests/test_hypno.py -------------------------------------------------------------------------------- /tests/test_hypnoclass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/tests/test_hypnoclass.py -------------------------------------------------------------------------------- /tests/test_io.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/tests/test_io.py -------------------------------------------------------------------------------- /tests/test_numba.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/tests/test_numba.py -------------------------------------------------------------------------------- /tests/test_others.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/tests/test_others.py -------------------------------------------------------------------------------- /tests/test_plotting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/tests/test_plotting.py -------------------------------------------------------------------------------- /tests/test_sleepstats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/tests/test_sleepstats.py -------------------------------------------------------------------------------- /tests/test_spectral.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/tests/test_spectral.py -------------------------------------------------------------------------------- /tests/test_staging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raphaelvallat/yasa/HEAD/tests/test_staging.py --------------------------------------------------------------------------------