Get paths to local copies of PhysioNet Polysomnography dataset files.
This will fetch data from the publicly available subjects from PhysioNet’s study of Temazepam effects on sleep . This corresponds to a set of 22 subjects. Subjects had mild difficulty falling asleep but were otherwise healthy.
The subjects to use. Can be in the range of 0-21 (inclusive).
Location of where to look for the PhysioNet data storing location.
If None, the environment variable or config parameter
PHYSIONET_SLEEP_PATH is used. If it doesn’t exist, the “~/mne_data”
directory is used. If the Polysomnography dataset is not found under
the given path, the data will be automatically downloaded to the
Force update of the dataset even if a local copy exists.
The base URL to download from.
List of local data paths of the given type.
For example, one could do:
>>> from mne.datasets import sleep_physionet >>> sleep_physionet.temazepam.fetch_data(subjects=)
This would download data for subject 0 if it isn’t there already.