eegdash 0.0.9__py3-none-any.whl → 0.2.0__py3-none-any.whl
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/__init__.py +8 -1
- eegdash/api.py +690 -0
- eegdash/data_config.py +33 -27
- eegdash/data_utils.py +365 -222
- eegdash/dataset.py +60 -0
- eegdash/features/__init__.py +46 -18
- eegdash/features/datasets.py +62 -23
- eegdash/features/decorators.py +14 -6
- eegdash/features/extractors.py +22 -22
- eegdash/features/feature_bank/__init__.py +3 -3
- eegdash/features/feature_bank/complexity.py +6 -3
- eegdash/features/feature_bank/connectivity.py +16 -56
- eegdash/features/feature_bank/csp.py +3 -4
- eegdash/features/feature_bank/dimensionality.py +8 -5
- eegdash/features/feature_bank/signal.py +30 -4
- eegdash/features/feature_bank/spectral.py +10 -28
- eegdash/features/feature_bank/utils.py +48 -0
- eegdash/features/inspect.py +48 -0
- eegdash/features/serialization.py +4 -5
- eegdash/features/utils.py +9 -7
- eegdash/preprocessing.py +65 -0
- eegdash/utils.py +11 -0
- {eegdash-0.0.9.dist-info → eegdash-0.2.0.dist-info}/METADATA +67 -20
- eegdash-0.2.0.dist-info/RECORD +27 -0
- {eegdash-0.0.9.dist-info → eegdash-0.2.0.dist-info}/WHEEL +1 -1
- {eegdash-0.0.9.dist-info → eegdash-0.2.0.dist-info}/licenses/LICENSE +1 -0
- eegdash/main.py +0 -359
- eegdash-0.0.9.dist-info/RECORD +0 -22
- {eegdash-0.0.9.dist-info → eegdash-0.2.0.dist-info}/top_level.txt +0 -0
eegdash/data_config.py
CHANGED
|
@@ -1,28 +1,34 @@
|
|
|
1
1
|
config = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
2
|
+
"required_fields": ["data_name"],
|
|
3
|
+
# Default set of user-facing primary record attributes expected in the database. Records
|
|
4
|
+
# where any of these are missing will be loaded with the respective attribute set to None.
|
|
5
|
+
# Additional fields may be returned if they are present in the database, notably bidsdependencies.
|
|
6
|
+
"attributes": {
|
|
7
|
+
"data_name": "str",
|
|
8
|
+
"dataset": "str",
|
|
9
|
+
"bidspath": "str",
|
|
10
|
+
"subject": "str",
|
|
11
|
+
"task": "str",
|
|
12
|
+
"session": "str",
|
|
13
|
+
"run": "str",
|
|
14
|
+
"sampling_frequency": "float",
|
|
15
|
+
"modality": "str",
|
|
16
|
+
"nchans": "int",
|
|
17
|
+
"ntimes": "int", # note: this is really the number of seconds in the data, rounded down
|
|
18
|
+
},
|
|
19
|
+
# queryable descriptive fields for a given recording
|
|
20
|
+
"description_fields": ["subject", "session", "run", "task", "age", "gender", "sex"],
|
|
21
|
+
# list of filenames that may be present in the BIDS dataset directory that are used
|
|
22
|
+
# to load and interpret a given BIDS recording.
|
|
23
|
+
"bids_dependencies_files": [
|
|
24
|
+
"dataset_description.json",
|
|
25
|
+
"participants.tsv",
|
|
26
|
+
"events.tsv",
|
|
27
|
+
"events.json",
|
|
28
|
+
"eeg.json",
|
|
29
|
+
"electrodes.tsv",
|
|
30
|
+
"channels.tsv",
|
|
31
|
+
"coordsystem.json",
|
|
32
|
+
],
|
|
33
|
+
"accepted_query_fields": ["data_name", "dataset"],
|
|
34
|
+
}
|