Part 1: Fetch dataΒΆ

Download the OpenNeuro dataset ds003490.

import openneuro as on
import os

cwd = os.getcwd()
data_root = os.path.join(cwd, 'transfreq_data')

if not os.path.exists(data_root):
    os.mkdir(data_root)
else:
    raise Exception('Folder {} already exists. Please check'.format(
        data_root))

on.download(dataset='ds003490', target_dir=data_root)

Total running time of the script: ( 0 minutes 0.000 seconds)

Gallery generated by Sphinx-Gallery