from get_megdata.get_testdata import megdata
gd = megdata(task_type='rest')
gd.getdata() #Downloads data to ~/nihmeg_test_data
Namespace variables are dot accessible in the gd.data variable
e.g.) gd.bem provides the path to the bem output
Additional tags: [ 'bem', 'bidsT1w', 'brik_in', 'fwd', 'meg_fname', 'noise_fname', 'orthohull', 'src', 'subjects_dir', 'trans']