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/data_config.py CHANGED
@@ -1,28 +1,34 @@
1
1
  config = {
2
- "required_fields": ["data_name"],
3
- "attributes": {
4
- "data_name": "str",
5
- "dataset": "str",
6
- "bidspath": "str",
7
- "subject": "str",
8
- "task": "str",
9
- "session": "str",
10
- "run": "str",
11
- "sampling_frequency": "float",
12
- "modality": "str",
13
- "nchans": "int",
14
- "ntimes": "int"
15
- },
16
- "description_fields": ["subject", "session", "run", "task", "age", "gender", "sex"],
17
- "bids_dependencies_files": [
18
- "dataset_description.json",
19
- "participants.tsv",
20
- "events.tsv",
21
- "events.json",
22
- "eeg.json",
23
- "electrodes.tsv",
24
- "channels.tsv",
25
- "coordsystem.json"
26
- ],
27
- "accepted_query_fields": ["data_name", "dataset"]
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
+ }