Note
Click here to download the full example code
Load REC files¶
This example demonstrate how to load a .rec file.
Required dataset at : https://www.dropbox.com/s/hc18bgn2hlnmiph/sleep_edf.zip?dl=1

import os
from visbrain.gui import Sleep
from visbrain.io import download_file, path_to_visbrain_data
LOAD YOUR FILE¶
download_file('sleep_rec.zip', unzip=True, astype='example_data')
target_path = path_to_visbrain_data(folder='example_data')
dfile = os.path.join(target_path, '1.rec')
# Open the GUI :
Sleep(data=dfile).show()
Total running time of the script: ( 0 minutes 0.000 seconds)