braindecode.datasets.CHBMIT#

class braindecode.datasets.CHBMIT(root=None, *args, **kwargs)[source]#

The Children’s Hospital Boston EEG Dataset.

This database, collected at the Children’s Hospital Boston, consists of EEG recordings from pediatric subjects with intractable seizures. Subjects were monitored for up to several days following withdrawal of anti-seizure medication in order to characterize their seizures and assess their candidacy for surgical intervention.

Description of the contents of the dataset

Each folder (sub-01, sub-01, etc.) contains between 9 and 42 continuous .edf files from a single subject. Hardware limitations resulted in gaps between consecutively-numbered .edf files, during which the signals were not recorded; in most cases, the gaps are 10 seconds or less, but occasionally there are much longer gaps. In order to protect the privacy of the subjects, all protected health information (PHI) in the original .edf files has been replaced with surrogate information in the files provided here. Dates in the original .edf files have been replaced by surrogate dates, but the time relationships between the individual files belonging to each case have been preserved. In most cases, the .edf files contain exactly one hour of digitized EEG signals, although those belonging to case sub-10 are two hours long, and those belonging to cases sub-04, sub-06, sub-07, sub-09, and sub-23 are four hours long; occasionally, files in which seizures are recorded are shorter.

The EEG is recorded at 256 Hz with a 16-bit resolution. The recordings are

referenced in a double banana bipolar montage with 18 channels from the 10-20 electrode system.

This BIDS-compatible version of the dataset was published by Jonathan Dan [R6776df1959e9-Dan2025] and is based on the original CHB MIT EEG Database [R6776df1959e9-Guttag2010], [R6776df1959e9-Shoeb2009].

Added in version 1.3.

Parameters:
rootpathlib.Path | str

The root of the BIDS path.

subjectsstr | array-like of str | None

The subject ID. Corresponds to “sub”.

sessionsstr | array-like of str | None

The acquisition session. Corresponds to “ses”.

tasksstr | array-like of str | None

The experimental task. Corresponds to “task”.

acquisitions: str | array-like of str | None

The acquisition parameters. Corresponds to “acq”.

runsstr | array-like of str | None

The run number. Corresponds to “run”.

processingsstr | array-like of str | None

The processing label. Corresponds to “proc”.

recordingsstr | array-like of str | None

The recording name. Corresponds to “rec”.

spacesstr | array-like of str | None

The coordinate space for anatomical and sensor location files (e.g., *_electrodes.tsv, *_markers.mrk). Corresponds to “space”. Note that valid values for space must come from a list of BIDS keywords as described in the BIDS specification.

splitsstr | array-like of str | None

The split of the continuous recording file for .fif data. Corresponds to “split”.

descriptionsstr | array-like of str | None

This corresponds to the BIDS entity desc. It is used to provide additional information for derivative data, e.g., preprocessed data may be assigned description='cleaned'.

suffixesstr | array-like of str | None

The filename suffix. This is the entity after the last _ before the extension. E.g., 'channels'. The following filename suffix’s are accepted: ‘meg’, ‘markers’, ‘eeg’, ‘ieeg’, ‘T1w’, ‘participants’, ‘scans’, ‘electrodes’, ‘coordsystem’, ‘channels’, ‘events’, ‘headshape’, ‘digitizer’, ‘beh’, ‘physio’, ‘stim’

extensionsstr | array-like of str | None

The extension of the filename. E.g., '.json'. By default, uses the ones accepted by mne_bids.read_raw_bids().

datatypesstr | array-like of str | None

The BIDS data type, e.g., 'anat', 'func', 'eeg', 'meg', 'ieeg'.

checkbool

If True, only returns paths that conform to BIDS. If False (default), the .check attribute of the returned mne_bids.BIDSPath object will be set to True for paths that do conform to BIDS, and to False for those that don’t.

preloadbool

If True, preload the data. Defaults to False.

n_jobsint

Number of jobs to run in parallel. Defaults to 1.