eegdash 0.4.0.dev153__py3-none-any.whl → 0.4.0.dev162__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/const.py CHANGED
@@ -28,6 +28,8 @@ ALLOWED_QUERY_FIELDS = {
28
28
  "nchans",
29
29
  "ntimes",
30
30
  }
31
+ """set: A set of field names that are permitted in database queries constructed
32
+ via :func:`~eegdash.api.EEGDash.find` with keyword arguments."""
31
33
 
32
34
  RELEASE_TO_OPENNEURO_DATASET_MAP = {
33
35
  "R11": "ds005516",
@@ -42,6 +44,8 @@ RELEASE_TO_OPENNEURO_DATASET_MAP = {
42
44
  "R2": "ds005506",
43
45
  "R1": "ds005505",
44
46
  }
47
+ """dict: A mapping from Healthy Brain Network (HBN) release identifiers (e.g., "R11")
48
+ to their corresponding OpenNeuro dataset identifiers (e.g., "ds005516")."""
45
49
 
46
50
  SUBJECT_MINI_RELEASE_MAP = {
47
51
  "R11": [
@@ -287,6 +291,9 @@ SUBJECT_MINI_RELEASE_MAP = {
287
291
  "NDARFW972KFQ",
288
292
  ],
289
293
  }
294
+ """dict: A mapping from HBN release identifiers to a list of subject IDs.
295
+ This is used to select a small, representative subset of subjects for creating
296
+ "mini" datasets for testing and demonstration purposes."""
290
297
 
291
298
  config = {
292
299
  "required_fields": ["data_name"],
@@ -322,3 +329,21 @@ config = {
322
329
  ],
323
330
  "accepted_query_fields": ["data_name", "dataset"],
324
331
  }
332
+ """dict: A global configuration dictionary for the EEGDash package.
333
+
334
+ Keys
335
+ ----
336
+ required_fields : list
337
+ Fields that must be present in every database record.
338
+ attributes : dict
339
+ A schema defining the expected primary attributes and their types for a
340
+ database record.
341
+ description_fields : list
342
+ A list of fields considered to be descriptive metadata for a recording,
343
+ which can be used for filtering and display.
344
+ bids_dependencies_files : list
345
+ A list of BIDS metadata filenames that are relevant for interpreting an
346
+ EEG recording.
347
+ accepted_query_fields : list
348
+ Fields that are accepted for lightweight existence checks in the database.
349
+ """