eegdash 0.3.5.dev77__tar.gz → 0.3.5.dev83__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.3.5.dev77/eegdash.egg-info → eegdash-0.3.5.dev83}/PKG-INFO +3 -1
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/docs/source/dataset_summary.rst +6 -1
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/docs/source/index.rst +4 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/__init__.py +1 -1
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/api.py +15 -14
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83/eegdash.egg-info}/PKG-INFO +3 -1
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash.egg-info/requires.txt +2 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/pyproject.toml +2 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/LICENSE +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/MANIFEST.in +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/README.md +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/docs/Makefile +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/docs/source/conf.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/docs/source/install/install.rst +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/docs/source/install/install_pip.rst +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/docs/source/install/install_source.rst +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/docs/source/overview.rst +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/data_config.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/data_utils.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/dataset.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/dataset_summary.csv +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/features/__init__.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/features/datasets.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/features/decorators.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/features/extractors.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/features/feature_bank/__init__.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/features/feature_bank/complexity.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/features/feature_bank/connectivity.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/features/feature_bank/csp.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/features/feature_bank/dimensionality.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/features/feature_bank/signal.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/features/feature_bank/spectral.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/features/feature_bank/utils.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/features/inspect.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/features/serialization.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/features/utils.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/mongodb.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/preprocessing.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/registry.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash/utils.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash.egg-info/SOURCES.txt +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash.egg-info/dependency_links.txt +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/eegdash.egg-info/top_level.txt +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/setup.cfg +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/tests/test_api.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/tests/test_correctness.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/tests/test_dataset.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/tests/test_dataset_registration.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/tests/test_eegdash.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/tests/test_functional.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/tests/test_init.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/tests/test_mongo_connection.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/tests/test_offline.py +0 -0
- {eegdash-0.3.5.dev77 → eegdash-0.3.5.dev83}/tests/test_query.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: eegdash
|
|
3
|
-
Version: 0.3.5.
|
|
3
|
+
Version: 0.3.5.dev83
|
|
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
|
|
@@ -54,6 +54,7 @@ Requires-Dist: sphinx_design; extra == "docs"
|
|
|
54
54
|
Requires-Dist: sphinx_gallery; extra == "docs"
|
|
55
55
|
Requires-Dist: sphinx_rtd_theme; extra == "docs"
|
|
56
56
|
Requires-Dist: pydata-sphinx-theme; extra == "docs"
|
|
57
|
+
Requires-Dist: sphinx-autobuild; extra == "docs"
|
|
57
58
|
Requires-Dist: numpydoc; extra == "docs"
|
|
58
59
|
Requires-Dist: memory_profiler; extra == "docs"
|
|
59
60
|
Requires-Dist: ipython; extra == "docs"
|
|
@@ -70,6 +71,7 @@ Requires-Dist: sphinx_design; extra == "all"
|
|
|
70
71
|
Requires-Dist: sphinx_gallery; extra == "all"
|
|
71
72
|
Requires-Dist: sphinx_rtd_theme; extra == "all"
|
|
72
73
|
Requires-Dist: pydata-sphinx-theme; extra == "all"
|
|
74
|
+
Requires-Dist: sphinx-autobuild; extra == "all"
|
|
73
75
|
Requires-Dist: numpydoc; extra == "all"
|
|
74
76
|
Requires-Dist: memory_profiler; extra == "all"
|
|
75
77
|
Requires-Dist: ipython; extra == "all"
|
|
@@ -9,11 +9,16 @@
|
|
|
9
9
|
|
|
10
10
|
.. currentmodule:: eegdash.dataset
|
|
11
11
|
|
|
12
|
+
To leverage recent and ongoing advancements in large-scale computational methods and to ensure the preservation of scientific data generated from publicly funded research, the EEG-DaSh data archive will create a data-sharing resource for MEEG (EEG, MEG) data contributed by collaborators for machine learning (ML) and deep learning (DL) applications.
|
|
13
|
+
|
|
14
|
+
The archive is currently still in <span style="color: red;">beta testing</span> mode, so be kind.
|
|
15
|
+
|
|
12
16
|
EEG Dash Datasets
|
|
13
17
|
==================
|
|
14
18
|
|
|
19
|
+
The data in EEG-DaSh originates from a collaboration involving 25 laboratories, encompassing 27,053 participants. This extensive collection includes MEEG data, which is a combination of EEG and MEG signals. The data is sourced from various studies conducted by these labs, involving both healthy subjects and clinical populations with conditions such as ADHD, depression, schizophrenia, dementia, autism, and psychosis. Additionally, data spans different mental states like sleep, meditation, and cognitive tasks. In addition, EEG-DaSh will incorporate a subset of the data converted from NEMAR, which includes 330 MEEG BIDS-formatted datasets, further expanding the archive with well-curated, standardized neuroelectromagnetic data.
|
|
15
20
|
|
|
16
|
-
Columns definitions:
|
|
21
|
+
Columns definitions for the table below:
|
|
17
22
|
- **dataset**: Name of the dataset.
|
|
18
23
|
- **n_records**: Number of EEG records in the dataset.
|
|
19
24
|
- **n_subjects**: Number of subjects in the dataset.
|
|
@@ -25,6 +25,10 @@ The EEG-DaSh data archive will establish a data-sharing resource for MEEG (EEG,
|
|
|
25
25
|
large-scale computational advancements to preserve and share scientific data from publicly funded
|
|
26
26
|
research for machine learning and deep learning applications.
|
|
27
27
|
|
|
28
|
+
The EEG-DaSh data archive is a collaborative effort led by the University of California, San Diego (UCSD) and Ben-Gurion University of the Negev (BGU) and partially funded by the National Science Foundation (NSF). All are welcome to contribute to the project to the https://github.com/sccn/EEGDash project.
|
|
29
|
+
|
|
30
|
+
The archive is currently still in <span style="color: red;">beta testing</span> mode, so be kind.
|
|
31
|
+
|
|
28
32
|
.. raw:: html
|
|
29
33
|
|
|
30
34
|
<h2 style="text-align: center;">Institutions</h2>
|
|
@@ -676,6 +676,7 @@ class EEGDashDataset(BaseConcatDataset):
|
|
|
676
676
|
|
|
677
677
|
try:
|
|
678
678
|
if records is not None:
|
|
679
|
+
self.records = records
|
|
679
680
|
datasets = [
|
|
680
681
|
EEGDashBaseDataset(
|
|
681
682
|
record,
|
|
@@ -683,16 +684,16 @@ class EEGDashDataset(BaseConcatDataset):
|
|
|
683
684
|
self.s3_bucket,
|
|
684
685
|
**base_dataset_kwargs,
|
|
685
686
|
)
|
|
686
|
-
for record in records
|
|
687
|
+
for record in self.records
|
|
687
688
|
]
|
|
688
689
|
elif data_dir:
|
|
689
690
|
# This path loads from a local directory and is not affected by DB query logic
|
|
690
|
-
if isinstance(data_dir, str):
|
|
691
|
+
if isinstance(data_dir, str) or isinstance(data_dir, Path):
|
|
691
692
|
datasets = self.load_bids_dataset(
|
|
692
|
-
dataset,
|
|
693
|
-
data_dir,
|
|
694
|
-
description_fields,
|
|
695
|
-
s3_bucket,
|
|
693
|
+
dataset=dataset,
|
|
694
|
+
data_dir=data_dir,
|
|
695
|
+
description_fields=description_fields,
|
|
696
|
+
s3_bucket=s3_bucket,
|
|
696
697
|
**base_dataset_kwargs,
|
|
697
698
|
)
|
|
698
699
|
else:
|
|
@@ -703,10 +704,10 @@ class EEGDashDataset(BaseConcatDataset):
|
|
|
703
704
|
for i, _ in enumerate(data_dir):
|
|
704
705
|
datasets.extend(
|
|
705
706
|
self.load_bids_dataset(
|
|
706
|
-
dataset[i],
|
|
707
|
-
data_dir[i],
|
|
708
|
-
description_fields,
|
|
709
|
-
s3_bucket,
|
|
707
|
+
dataset=dataset[i],
|
|
708
|
+
data_dir=data_dir[i],
|
|
709
|
+
description_fields=description_fields,
|
|
710
|
+
s3_bucket=s3_bucket,
|
|
710
711
|
**base_dataset_kwargs,
|
|
711
712
|
)
|
|
712
713
|
)
|
|
@@ -773,9 +774,9 @@ class EEGDashDataset(BaseConcatDataset):
|
|
|
773
774
|
"""
|
|
774
775
|
datasets: list[EEGDashBaseDataset] = []
|
|
775
776
|
|
|
776
|
-
records = self.eeg_dash.find(query, **query_kwargs)
|
|
777
|
+
self.records = self.eeg_dash.find(query, **query_kwargs)
|
|
777
778
|
|
|
778
|
-
for record in records:
|
|
779
|
+
for record in self.records:
|
|
779
780
|
description = {}
|
|
780
781
|
for field in description_fields:
|
|
781
782
|
value = self.find_key_in_nested_dict(record, field)
|
|
@@ -794,8 +795,8 @@ class EEGDashDataset(BaseConcatDataset):
|
|
|
794
795
|
|
|
795
796
|
def load_bids_dataset(
|
|
796
797
|
self,
|
|
797
|
-
dataset,
|
|
798
|
-
data_dir,
|
|
798
|
+
dataset: str,
|
|
799
|
+
data_dir: str | Path,
|
|
799
800
|
description_fields: list[str],
|
|
800
801
|
s3_bucket: str | None = None,
|
|
801
802
|
**kwargs,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: eegdash
|
|
3
|
-
Version: 0.3.5.
|
|
3
|
+
Version: 0.3.5.dev83
|
|
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
|
|
@@ -54,6 +54,7 @@ Requires-Dist: sphinx_design; extra == "docs"
|
|
|
54
54
|
Requires-Dist: sphinx_gallery; extra == "docs"
|
|
55
55
|
Requires-Dist: sphinx_rtd_theme; extra == "docs"
|
|
56
56
|
Requires-Dist: pydata-sphinx-theme; extra == "docs"
|
|
57
|
+
Requires-Dist: sphinx-autobuild; extra == "docs"
|
|
57
58
|
Requires-Dist: numpydoc; extra == "docs"
|
|
58
59
|
Requires-Dist: memory_profiler; extra == "docs"
|
|
59
60
|
Requires-Dist: ipython; extra == "docs"
|
|
@@ -70,6 +71,7 @@ Requires-Dist: sphinx_design; extra == "all"
|
|
|
70
71
|
Requires-Dist: sphinx_gallery; extra == "all"
|
|
71
72
|
Requires-Dist: sphinx_rtd_theme; extra == "all"
|
|
72
73
|
Requires-Dist: pydata-sphinx-theme; extra == "all"
|
|
74
|
+
Requires-Dist: sphinx-autobuild; extra == "all"
|
|
73
75
|
Requires-Dist: numpydoc; extra == "all"
|
|
74
76
|
Requires-Dist: memory_profiler; extra == "all"
|
|
75
77
|
Requires-Dist: ipython; extra == "all"
|
|
@@ -27,6 +27,7 @@ sphinx_design
|
|
|
27
27
|
sphinx_gallery
|
|
28
28
|
sphinx_rtd_theme
|
|
29
29
|
pydata-sphinx-theme
|
|
30
|
+
sphinx-autobuild
|
|
30
31
|
numpydoc
|
|
31
32
|
memory_profiler
|
|
32
33
|
ipython
|
|
@@ -41,6 +42,7 @@ sphinx_design
|
|
|
41
42
|
sphinx_gallery
|
|
42
43
|
sphinx_rtd_theme
|
|
43
44
|
pydata-sphinx-theme
|
|
45
|
+
sphinx-autobuild
|
|
44
46
|
numpydoc
|
|
45
47
|
memory_profiler
|
|
46
48
|
ipython
|
|
@@ -76,6 +76,7 @@ docs = [
|
|
|
76
76
|
"sphinx_gallery",
|
|
77
77
|
"sphinx_rtd_theme",
|
|
78
78
|
"pydata-sphinx-theme",
|
|
79
|
+
"sphinx-autobuild",
|
|
79
80
|
"numpydoc",
|
|
80
81
|
"memory_profiler",
|
|
81
82
|
"ipython",
|
|
@@ -94,6 +95,7 @@ all = [
|
|
|
94
95
|
"sphinx_gallery",
|
|
95
96
|
"sphinx_rtd_theme",
|
|
96
97
|
"pydata-sphinx-theme",
|
|
98
|
+
"sphinx-autobuild",
|
|
97
99
|
"numpydoc",
|
|
98
100
|
"memory_profiler",
|
|
99
101
|
"ipython",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|