pycrostates.datasets.lemon.data_path#
- pycrostates.datasets.lemon.data_path(subject_id, condition)[source]#
Get path to a local copy of preprocessed EEG recording from the LEMON dataset.
Get path to a local copy of preprocessed EEG recording from the mind-brain-body dataset of MRI, EEG, cognition, emotion, and peripheral physiology in young and old adults[1]. If there is no local copy of the recording, this function will fetch it from the online repository and store it. The default location is
~/pycrostates_data.- Parameters:
- subject_id
str The subject id to use. For example
'010276'. The list of available subjects can be found on this FTP server.- condition
str Can be
'EO'for eyes open condition or'EC'for eyes closed condition.
- subject_id
- Returns:
- path
Path Path to a local copy of the requested recording.
- path
Notes
The lemon datasets is composed of EEGLAB files. To use the MNE reader
mne.io.read_raw_eeglab(), thepymatreaderoptional dependency is required. Use the following installation method appropriate for your environment:pip install pymatreaderconda install -c conda-forge pymatreader
Note that an environment created via the MNE installers includes
pymatreaderby default.References