brainsets.utils.bids_utils#
Brain Imaging Data Structure (BIDS) utilities.
This module provides utility functions to parse BIDS-compliant filenames, discover BIDS recordings in a dataset, and check for the existence of BIDS-conformant data files.
For more information about BIDS, see the BIDS specification: https://bids-specification.readthedocs.io/en/stable/
Discover all EEG recordings inside a BIDS dataset or list of files. |
|
Discover all iEEG recordings inside a BIDS dataset or list of files. |
|
Group BIDS-compliant recordings by specified fixed entities. |
|
Check if EEG data files corresponding to a BIDS recording_id exist in the BIDS root directory. |
|
Check if iEEG data files corresponding to a BIDS recording_id exist in the BIDS root directory. |
|
Build a mne_bids.BIDSPath for a given recording_id, modality, and BIDS root directory. |
|
Load the JSON sidecar file for a given BIDS file. |
|
Load participants.tsv data from a BIDS root directory. |
|
Retrieve demographic information (age, sex) for a given subject from a participants DataFrame. |