The open ISRUC EEF database, refer to doc for more information.
- class pyhealth.datasets.ISRUCDataset(root, dataset_name=None, dev=False, refresh_cache=False, **kwargs)#
Base EEG dataset for ISRUC Group I.
Dataset is available at https://sleeptight.isr.uc.pt/
The EEG signals are sampled at 200 Hz.
There are 100 subjects in the orignal dataset.
Each subject’s data is about a night’s sleep.
str) – root directory of the raw data. We expect root/raw to contain all extracted files (.txt, .rec, …) You can also download the data to a new directory by using download=True.
bool) – whether to enable dev mode (only use a small subset of the data). Default is False.
bool) – Whether to refresh the cache; if true, the dataset will be processed from scratch and the cache will be updated. Default is False.
download – Whether to download the data automatically. Default is False.
>>> from pyhealth.datasets import ISRUCDataset >>> dataset = ISRUCDataset( ... root="/srv/local/data/data/ISRUC-I", ... download=True, ... ) >>> dataset.stat() >>> dataset.info()