eegdash 0.4.0.dev144__tar.gz → 0.4.0.dev150__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of eegdash might be problematic. Click here for more details.
- {eegdash-0.4.0.dev144/eegdash.egg-info → eegdash-0.4.0.dev150}/PKG-INFO +2 -2
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/docs/Makefile +4 -22
- eegdash-0.4.0.dev150/docs/source/api/api.rst +122 -0
- eegdash-0.4.0.dev150/docs/source/api/api_core.rst +79 -0
- eegdash-0.4.0.dev150/docs/source/conf.py +589 -0
- eegdash-0.4.0.dev150/docs/source/dataset_summary/bubble.rst +15 -0
- eegdash-0.4.0.dev150/docs/source/dataset_summary/kde.rst +14 -0
- eegdash-0.4.0.dev144/docs/source/dataset_summary.rst → eegdash-0.4.0.dev150/docs/source/dataset_summary/table.rst +33 -58
- eegdash-0.4.0.dev150/docs/source/dataset_summary.rst +36 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/docs/source/index.rst +3 -3
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/docs/source/install/install.rst +6 -2
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/docs/source/install/install_pip.rst +1 -1
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/docs/source/install/install_source.rst +7 -7
- eegdash-0.4.0.dev150/docs/source/sg_execution_times.rst +41 -0
- eegdash-0.4.0.dev150/docs/source/user_guide.rst +202 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/__init__.py +1 -1
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/api.py +4 -69
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/bids_eeg_metadata.py +8 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/data_utils.py +3 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/downloader.py +6 -82
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/logging.py +2 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/mongodb.py +3 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/paths.py +3 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/utils.py +3 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150/eegdash.egg-info}/PKG-INFO +2 -2
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash.egg-info/SOURCES.txt +5 -1
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash.egg-info/requires.txt +1 -1
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/pyproject.toml +1 -1
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/tests/test_api.py +1 -25
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/tests/test_downloader.py +0 -12
- eegdash-0.4.0.dev144/docs/source/api/api.rst +0 -37
- eegdash-0.4.0.dev144/docs/source/api/api_core.rst +0 -18
- eegdash-0.4.0.dev144/docs/source/conf.py +0 -222
- eegdash-0.4.0.dev144/docs/source/overview.rst +0 -39
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/LICENSE +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/MANIFEST.in +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/README.md +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/docs/source/api/api_features.rst +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/const.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/dataset/__init__.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/dataset/dataset.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/dataset/dataset_summary.csv +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/dataset/registry.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/features/__init__.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/features/datasets.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/features/decorators.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/features/extractors.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/__init__.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/complexity.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/connectivity.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/csp.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/dimensionality.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/signal.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/spectral.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/utils.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/features/inspect.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/features/serialization.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/features/utils.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/hbn/__init__.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/hbn/preprocessing.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash/hbn/windows.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash.egg-info/dependency_links.txt +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/eegdash.egg-info/top_level.txt +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/setup.cfg +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/tests/test_bids_dependencies.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/tests/test_cache_folder_suffix.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/tests/test_challenge_kwargs.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/tests/test_correctness.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/tests/test_dataset.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/tests/test_dataset_registration.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/tests/test_eegdash.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/tests/test_init.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/tests/test_minirelease.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/tests/test_mongo_connection.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/tests/test_offline.py +0 -0
- {eegdash-0.4.0.dev144 → eegdash-0.4.0.dev150}/tests/test_query.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: eegdash
|
|
3
|
-
Version: 0.4.0.
|
|
3
|
+
Version: 0.4.0.dev150
|
|
4
4
|
Summary: EEG data for machine learning
|
|
5
5
|
Author-email: Young Truong <dt.young112@gmail.com>, Arnaud Delorme <adelorme@gmail.com>, Aviv Dotan <avivd220@gmail.com>, Oren Shriki <oren70@gmail.com>, Bruno Aristimunha <b.aristimunha@gmail.com>
|
|
6
6
|
License-Expression: GPL-3.0-only
|
|
@@ -35,7 +35,6 @@ Requires-Dist: python-dotenv
|
|
|
35
35
|
Requires-Dist: s3fs
|
|
36
36
|
Requires-Dist: scipy
|
|
37
37
|
Requires-Dist: tqdm
|
|
38
|
-
Requires-Dist: xarray
|
|
39
38
|
Requires-Dist: h5io>=0.2.4
|
|
40
39
|
Requires-Dist: pymatreader
|
|
41
40
|
Requires-Dist: eeglabio
|
|
@@ -58,6 +57,7 @@ Requires-Dist: sphinx_gallery; extra == "docs"
|
|
|
58
57
|
Requires-Dist: sphinx_rtd_theme; extra == "docs"
|
|
59
58
|
Requires-Dist: pydata-sphinx-theme; extra == "docs"
|
|
60
59
|
Requires-Dist: sphinx-autobuild; extra == "docs"
|
|
60
|
+
Requires-Dist: sphinx-copybutton; extra == "docs"
|
|
61
61
|
Requires-Dist: sphinx-sitemap; extra == "docs"
|
|
62
62
|
Requires-Dist: numpydoc; extra == "docs"
|
|
63
63
|
Requires-Dist: memory_profiler; extra == "docs"
|
|
@@ -12,34 +12,17 @@ help:
|
|
|
12
12
|
.PHONY: apidoc
|
|
13
13
|
apidoc:
|
|
14
14
|
# Generate full API docs, then prune duplicates covered by autosummary
|
|
15
|
-
@
|
|
15
|
+
@SPHINX_APIDOC_OPTIONS=members,undoc-members,show-inheritance,noindex \
|
|
16
|
+
python -m sphinx.ext.apidoc -f -e -M -o "$(APIDIR)/dataset" "../$(PKG)"
|
|
16
17
|
# Remove top-level package page and modules covered elsewhere
|
|
17
|
-
@rm -f "$(APIDIR)/dataset/eegdash.rst"
|
|
18
|
-
@rm -f "$(APIDIR)/dataset/eegdash.api.rst"
|
|
19
|
-
@rm -f "$(APIDIR)/dataset/eegdash.bids_eeg_metadata.rst"
|
|
20
|
-
@rm -f "$(APIDIR)/dataset/eegdash.const.rst"
|
|
21
|
-
@rm -f "$(APIDIR)/dataset/eegdash.data_utils.rst"
|
|
22
|
-
@rm -f "$(APIDIR)/dataset/eegdash.logging.rst"
|
|
23
|
-
@rm -f "$(APIDIR)/dataset/eegdash.mongodb.rst"
|
|
24
|
-
@rm -f "$(APIDIR)/dataset/eegdash.paths.rst"
|
|
25
|
-
@rm -f "$(APIDIR)/dataset/eegdash.utils.rst"
|
|
26
|
-
@rm -f "$(APIDIR)/dataset/eegdash.features.rst"
|
|
27
|
-
@rm -f $(APIDIR)/dataset/eegdash.features.*.rst
|
|
28
|
-
@rm -f "$(APIDIR)/dataset/eegdash.hbn.rst"
|
|
29
|
-
@rm -f $(APIDIR)/dataset/eegdash.hbn.*.rst
|
|
30
|
-
@rm -f "$(APIDIR)/dataset/modules.rst"
|
|
31
18
|
|
|
32
|
-
.PHONY: dataset-pages
|
|
33
|
-
dataset-pages:
|
|
34
|
-
# Generate individual dataset documentation pages
|
|
35
|
-
@python generate_dataset_pages.py
|
|
36
19
|
|
|
37
20
|
# Standard build runs examples
|
|
38
|
-
html: apidoc
|
|
21
|
+
html: apidoc
|
|
39
22
|
|
|
40
23
|
# Fast build: do NOT execute examples (sphinx-gallery)
|
|
41
24
|
.PHONY: html-noplot
|
|
42
|
-
html-noplot: apidoc
|
|
25
|
+
html-noplot: apidoc
|
|
43
26
|
@python prepare_summary_tables.py ../eegdash/ $(BUILDDIR)
|
|
44
27
|
@$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" \
|
|
45
28
|
$(SPHINXOPTS) -D sphinx_gallery_conf.plot_gallery=0 $(O)
|
|
@@ -65,5 +48,4 @@ Makefile: ;
|
|
|
65
48
|
|
|
66
49
|
%: Makefile
|
|
67
50
|
@python prepare_summary_tables.py ../eegdash/ $(BUILDDIR)
|
|
68
|
-
@python generate_dataset_pages.py
|
|
69
51
|
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
:html_theme.sidebar_primary.remove: true
|
|
2
|
+
:html_theme.sidebar_secondary.remove: true
|
|
3
|
+
|
|
4
|
+
.. _api:
|
|
5
|
+
|
|
6
|
+
#############
|
|
7
|
+
API Reference
|
|
8
|
+
#############
|
|
9
|
+
|
|
10
|
+
The EEGDash API reference curates everything you need to integrate, extend,
|
|
11
|
+
and automate EEGDash—from core dataset helpers to feature extraction and rich
|
|
12
|
+
dataset metadata. The focus is interoperability, extensibility, and ease of use.
|
|
13
|
+
|
|
14
|
+
The API is organized into three main components:
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
.. grid:: 1
|
|
18
|
+
:gutter: 4
|
|
19
|
+
:class-container: sd-gap-4 sd-mb-4
|
|
20
|
+
|
|
21
|
+
.. grid-item-card::
|
|
22
|
+
:link: api_core
|
|
23
|
+
:link-type: doc
|
|
24
|
+
:text-align: center
|
|
25
|
+
:class-card: api-grid-card
|
|
26
|
+
:class-header: api-grid-card__header
|
|
27
|
+
:class-body: api-grid-card__body
|
|
28
|
+
:class-footer: api-grid-card__footer
|
|
29
|
+
|
|
30
|
+
.. raw:: html
|
|
31
|
+
|
|
32
|
+
<span class="fa-solid fa-microchip api-grid-card__icon" aria-hidden="true"></span>
|
|
33
|
+
|
|
34
|
+
.. rst-class:: api-grid-card__title
|
|
35
|
+
|
|
36
|
+
**Core API**
|
|
37
|
+
^^^
|
|
38
|
+
|
|
39
|
+
Build, query, and manage EEGDash datasets and utilities.
|
|
40
|
+
|
|
41
|
+
+++
|
|
42
|
+
|
|
43
|
+
.. button-ref:: api_core
|
|
44
|
+
:color: primary
|
|
45
|
+
:class: api-grid-card__button
|
|
46
|
+
:click-parent:
|
|
47
|
+
|
|
48
|
+
→ Explore Core API
|
|
49
|
+
|
|
50
|
+
.. grid-item-card::
|
|
51
|
+
:link: api_features
|
|
52
|
+
:link-type: doc
|
|
53
|
+
:text-align: center
|
|
54
|
+
:class-card: api-grid-card
|
|
55
|
+
:class-header: api-grid-card__header
|
|
56
|
+
:class-body: api-grid-card__body
|
|
57
|
+
:class-footer: api-grid-card__footer
|
|
58
|
+
|
|
59
|
+
.. raw:: html
|
|
60
|
+
|
|
61
|
+
<span class="fa-solid fa-wave-square api-grid-card__icon" aria-hidden="true"></span>
|
|
62
|
+
|
|
63
|
+
.. rst-class:: api-grid-card__title
|
|
64
|
+
|
|
65
|
+
**Feature engineering**
|
|
66
|
+
^^^
|
|
67
|
+
|
|
68
|
+
Extract statistical, spectral, and machine-learning-ready features.
|
|
69
|
+
|
|
70
|
+
+++
|
|
71
|
+
|
|
72
|
+
.. button-ref:: api_features
|
|
73
|
+
:color: primary
|
|
74
|
+
:class: api-grid-card__button
|
|
75
|
+
:click-parent:
|
|
76
|
+
|
|
77
|
+
→ Explore Feature Engineering
|
|
78
|
+
|
|
79
|
+
.. grid-item-card::
|
|
80
|
+
:link: dataset/api_dataset
|
|
81
|
+
:link-type: doc
|
|
82
|
+
:text-align: center
|
|
83
|
+
:class-card: api-grid-card
|
|
84
|
+
:class-header: api-grid-card__header
|
|
85
|
+
:class-body: api-grid-card__body
|
|
86
|
+
:class-footer: api-grid-card__footer
|
|
87
|
+
|
|
88
|
+
.. raw:: html
|
|
89
|
+
|
|
90
|
+
<span class="fa-solid fa-database api-grid-card__icon" aria-hidden="true"></span>
|
|
91
|
+
|
|
92
|
+
.. rst-class:: api-grid-card__title
|
|
93
|
+
|
|
94
|
+
**Dataset catalog**
|
|
95
|
+
^^^
|
|
96
|
+
|
|
97
|
+
Browse dynamically generated dataset classes with rich metadata.
|
|
98
|
+
|
|
99
|
+
+++
|
|
100
|
+
|
|
101
|
+
.. button-ref:: dataset/api_dataset
|
|
102
|
+
:color: primary
|
|
103
|
+
:class: api-grid-card__button
|
|
104
|
+
:click-parent:
|
|
105
|
+
|
|
106
|
+
→ Explore the Dataset API
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
******************
|
|
110
|
+
Related Guides
|
|
111
|
+
******************
|
|
112
|
+
|
|
113
|
+
- :doc:`Tutorial gallery <../generated/auto_examples/index>`
|
|
114
|
+
- :doc:`Dataset summary <../dataset_summary>`
|
|
115
|
+
- :doc:`Installation guide <../install/install>`
|
|
116
|
+
|
|
117
|
+
.. toctree::
|
|
118
|
+
:hidden:
|
|
119
|
+
|
|
120
|
+
api_core
|
|
121
|
+
api_features
|
|
122
|
+
dataset/api_dataset
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
:html_theme.sidebar_secondary.remove: true
|
|
2
|
+
|
|
3
|
+
Core API
|
|
4
|
+
========
|
|
5
|
+
|
|
6
|
+
EEGDash provides a comprehensive interface for accessing and processing EEG data through
|
|
7
|
+
a three-tier architecture that combines metadata management, cloud storage, and standardized
|
|
8
|
+
data organization.
|
|
9
|
+
|
|
10
|
+
Architecture Overview
|
|
11
|
+
---------------------
|
|
12
|
+
|
|
13
|
+
The EEGDash core API is built around three interconnected components:
|
|
14
|
+
|
|
15
|
+
.. code-block:: text
|
|
16
|
+
|
|
17
|
+
+-----------------+
|
|
18
|
+
| MongoDB |
|
|
19
|
+
| (Metadata) |
|
|
20
|
+
+-----------------+
|
|
21
|
+
|
|
|
22
|
+
|
|
|
23
|
+
+-----------v-----------+ +-----------------+
|
|
24
|
+
| eegdash |<---->| S3 Filesystem |
|
|
25
|
+
| Interface | | (Raw Data) |
|
|
26
|
+
+-----------------------+ +-----------------+
|
|
27
|
+
|
|
|
28
|
+
|
|
|
29
|
+
+-----------v-----------+
|
|
30
|
+
| BIDS Parser |
|
|
31
|
+
+-----------------------+
|
|
32
|
+
|
|
33
|
+
**MongoDB Metadata Layer**
|
|
34
|
+
Centralized NoSQL database storing EEG dataset metadata including subject information,
|
|
35
|
+
session details, task parameters, and experimental conditions. Enables fast querying
|
|
36
|
+
and filtering of large-scale datasets.
|
|
37
|
+
|
|
38
|
+
**File Cloud Storage**
|
|
39
|
+
Scalable object storage for raw EEG data files. Provides reliable access to large
|
|
40
|
+
datasets with on-demand downloading capabilities, reducing local storage requirements.
|
|
41
|
+
At the moment, AWS S3 is the only supported storage backend.
|
|
42
|
+
|
|
43
|
+
**BIDS Standardization**
|
|
44
|
+
Brain Imaging Data Structure (BIDS) parser ensuring consistent data organization
|
|
45
|
+
and interpretation across different datasets and experiments.
|
|
46
|
+
Use to perform the digest of BIDS datasets and extract relevant metadata for
|
|
47
|
+
the mongodb.
|
|
48
|
+
|
|
49
|
+
Core Modules
|
|
50
|
+
------------
|
|
51
|
+
|
|
52
|
+
The API is organized into focused modules that handle specific aspects of EEG data processing:
|
|
53
|
+
|
|
54
|
+
* :mod:`~eegdash.api` - Main interface for data access and manipulation
|
|
55
|
+
* :mod:`~eegdash.const` - Constants and enumerations used throughout the package
|
|
56
|
+
* :mod:`~eegdash.bids_eeg_metadata` - BIDS-compliant metadata handling
|
|
57
|
+
* :mod:`~eegdash.data_utils` - Data preprocessing and transformation utilities
|
|
58
|
+
* :mod:`~eegdash.mongodb` - Database connection and query operations
|
|
59
|
+
* :mod:`~eegdash.paths` - File system and storage path management
|
|
60
|
+
* :mod:`~eegdash.utils` - General utility functions and helpers
|
|
61
|
+
|
|
62
|
+
API Reference
|
|
63
|
+
-------------
|
|
64
|
+
|
|
65
|
+
.. currentmodule:: eegdash
|
|
66
|
+
|
|
67
|
+
.. autosummary::
|
|
68
|
+
:toctree: generated/api-core
|
|
69
|
+
:recursive:
|
|
70
|
+
|
|
71
|
+
api
|
|
72
|
+
bids_eeg_metadata
|
|
73
|
+
const
|
|
74
|
+
data_utils
|
|
75
|
+
logging
|
|
76
|
+
hbn
|
|
77
|
+
mongodb
|
|
78
|
+
paths
|
|
79
|
+
utils
|