eegdash 0.4.0.dev132__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.

Files changed (80) hide show
  1. {eegdash-0.4.0.dev132/eegdash.egg-info → eegdash-0.4.0.dev150}/PKG-INFO +3 -2
  2. eegdash-0.4.0.dev150/docs/Makefile +51 -0
  3. eegdash-0.4.0.dev150/docs/source/api/api.rst +122 -0
  4. eegdash-0.4.0.dev150/docs/source/api/api_core.rst +79 -0
  5. eegdash-0.4.0.dev150/docs/source/conf.py +589 -0
  6. eegdash-0.4.0.dev150/docs/source/dataset_summary/bubble.rst +15 -0
  7. eegdash-0.4.0.dev150/docs/source/dataset_summary/kde.rst +14 -0
  8. eegdash-0.4.0.dev132/docs/source/dataset_summary.rst → eegdash-0.4.0.dev150/docs/source/dataset_summary/table.rst +33 -58
  9. eegdash-0.4.0.dev150/docs/source/dataset_summary.rst +36 -0
  10. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/docs/source/index.rst +6 -6
  11. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/docs/source/install/install.rst +7 -3
  12. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/docs/source/install/install_pip.rst +1 -1
  13. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/docs/source/install/install_source.rst +7 -7
  14. eegdash-0.4.0.dev150/docs/source/sg_execution_times.rst +41 -0
  15. eegdash-0.4.0.dev150/docs/source/user_guide.rst +202 -0
  16. eegdash-0.4.0.dev150/eegdash/__init__.py +21 -0
  17. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/api.py +64 -79
  18. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/bids_eeg_metadata.py +19 -0
  19. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/const.py +18 -0
  20. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/data_utils.py +14 -0
  21. eegdash-0.4.0.dev150/eegdash/dataset/__init__.py +22 -0
  22. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/dataset/dataset_summary.csv +0 -1
  23. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/dataset/registry.py +96 -9
  24. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/downloader.py +17 -82
  25. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/features/serialization.py +8 -4
  26. eegdash-0.4.0.dev150/eegdash/hbn/__init__.py +28 -0
  27. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/hbn/preprocessing.py +11 -0
  28. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/hbn/windows.py +12 -0
  29. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/logging.py +12 -0
  30. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/mongodb.py +14 -0
  31. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/paths.py +14 -0
  32. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/utils.py +13 -0
  33. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150/eegdash.egg-info}/PKG-INFO +3 -2
  34. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash.egg-info/SOURCES.txt +8 -4
  35. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash.egg-info/requires.txt +2 -1
  36. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/pyproject.toml +2 -1
  37. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/tests/test_api.py +1 -25
  38. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/tests/test_downloader.py +0 -12
  39. eegdash-0.4.0.dev132/docs/Makefile +0 -33
  40. eegdash-0.4.0.dev132/docs/source/api.rst +0 -39
  41. eegdash-0.4.0.dev132/docs/source/api_core.rst +0 -18
  42. eegdash-0.4.0.dev132/docs/source/conf.py +0 -224
  43. eegdash-0.4.0.dev132/docs/source/overview.rst +0 -39
  44. eegdash-0.4.0.dev132/eegdash/__init__.py +0 -10
  45. eegdash-0.4.0.dev132/eegdash/dataset/__init__.py +0 -4
  46. eegdash-0.4.0.dev132/eegdash/hbn/__init__.py +0 -17
  47. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/LICENSE +0 -0
  48. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/MANIFEST.in +0 -0
  49. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/README.md +0 -0
  50. {eegdash-0.4.0.dev132/docs/source → eegdash-0.4.0.dev150/docs/source/api}/api_features.rst +0 -0
  51. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/dataset/dataset.py +0 -0
  52. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/features/__init__.py +0 -0
  53. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/features/datasets.py +0 -0
  54. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/features/decorators.py +0 -0
  55. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/features/extractors.py +0 -0
  56. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/__init__.py +0 -0
  57. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/complexity.py +0 -0
  58. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/connectivity.py +0 -0
  59. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/csp.py +0 -0
  60. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/dimensionality.py +0 -0
  61. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/signal.py +0 -0
  62. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/spectral.py +0 -0
  63. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/features/feature_bank/utils.py +0 -0
  64. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/features/inspect.py +0 -0
  65. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash/features/utils.py +0 -0
  66. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash.egg-info/dependency_links.txt +0 -0
  67. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/eegdash.egg-info/top_level.txt +0 -0
  68. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/setup.cfg +0 -0
  69. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/tests/test_bids_dependencies.py +0 -0
  70. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/tests/test_cache_folder_suffix.py +0 -0
  71. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/tests/test_challenge_kwargs.py +0 -0
  72. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/tests/test_correctness.py +0 -0
  73. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/tests/test_dataset.py +0 -0
  74. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/tests/test_dataset_registration.py +0 -0
  75. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/tests/test_eegdash.py +0 -0
  76. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/tests/test_init.py +0 -0
  77. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/tests/test_minirelease.py +0 -0
  78. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/tests/test_mongo_connection.py +0 -0
  79. {eegdash-0.4.0.dev132 → eegdash-0.4.0.dev150}/tests/test_offline.py +0 -0
  80. {eegdash-0.4.0.dev132 → 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.dev132
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"
@@ -65,6 +65,7 @@ Requires-Dist: ipython; extra == "docs"
65
65
  Requires-Dist: lightgbm; extra == "docs"
66
66
  Requires-Dist: plotly; extra == "docs"
67
67
  Requires-Dist: nbformat; extra == "docs"
68
+ Requires-Dist: graphviz; extra == "docs"
68
69
  Provides-Extra: all
69
70
  Requires-Dist: eegdash[docs]; extra == "all"
70
71
  Requires-Dist: eegdash[dev]; extra == "all"
@@ -0,0 +1,51 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ SPHINXOPTS ?=
3
+ SPHINXBUILD ?= sphinx-build
4
+ SOURCEDIR = source
5
+ BUILDDIR = build
6
+ PKG ?= eegdash
7
+ APIDIR := $(SOURCEDIR)/api
8
+
9
+ help:
10
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
11
+
12
+ .PHONY: apidoc
13
+ apidoc:
14
+ # Generate full API docs, then prune duplicates covered by autosummary
15
+ @SPHINX_APIDOC_OPTIONS=members,undoc-members,show-inheritance,noindex \
16
+ python -m sphinx.ext.apidoc -f -e -M -o "$(APIDIR)/dataset" "../$(PKG)"
17
+ # Remove top-level package page and modules covered elsewhere
18
+
19
+
20
+ # Standard build runs examples
21
+ html: apidoc
22
+
23
+ # Fast build: do NOT execute examples (sphinx-gallery)
24
+ .PHONY: html-noplot
25
+ html-noplot: apidoc
26
+ @python prepare_summary_tables.py ../eegdash/ $(BUILDDIR)
27
+ @$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" \
28
+ $(SPHINXOPTS) -D sphinx_gallery_conf.plot_gallery=0 $(O)
29
+
30
+ # Custom clean target to remove generated API docs and build files
31
+ .PHONY: clean
32
+ clean:
33
+ @echo "Removing generated API documentation..."
34
+ @rm -rf "$(APIDIR)/dataset"
35
+ @rm -rf "$(APIDIR)/generated"
36
+ @echo "Removing generated dataset pages..."
37
+ @rm -rf "$(APIDIR)/datasets"
38
+ @rm -f "$(APIDIR)/api_dataset.rst"
39
+ @echo "Removing other generated directories..."
40
+ @rm -rf "$(SOURCEDIR)/generated"
41
+ @rm -rf "$(SOURCEDIR)/gen_modules"
42
+ @echo "Removing build directory..."
43
+ @rm -rf "$(BUILDDIR)"
44
+ @echo "Clean completed."
45
+
46
+ .PHONY: help apidoc
47
+ Makefile: ;
48
+
49
+ %: Makefile
50
+ @python prepare_summary_tables.py ../eegdash/ $(BUILDDIR)
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