@verbose
def _download_all_example_data(verbose=True):
 from . import sample, testing, misc, spm_face, somato, brainstorm, megsim, eegbci, multimodal
 sample.data_path()
 testing.data_path()
 misc.data_path()
 spm_face.data_path()
 somato.data_path()
 multimodal.data_path()
 sys.argv += ['--accept-brainstorm-license']
 try:
  brainstorm.bst_raw.data_path()
  brainstorm.bst_auditory.data_path()
  brainstorm.bst_phantom_elekta.data_path()
  brainstorm.bst_phantom_ctf.data_path()
 finally:
  sys.argv.pop((-1))
 megsim.load_data(condition='visual', data_format='single-trial', data_type='simulation', update_path=True)
 megsim.load_data(condition='visual', data_format='raw', data_type='experimental', update_path=True)
 megsim.load_data(condition='visual', data_format='evoked', data_type='simulation', update_path=True)
 eegbci.load_data(1, [6, 10, 14], update_path=True)
 sys.argv += ['--accept-hcpmmp-license']
 try:
  fetch_hcp_mmp_parcellation()
 finally:
  sys.argv.pop((-1))

@ verbose def _download_all_example_data ( verbose = True ) : from . import sample , testing , misc , spm_face , somato , brainstorm , megsim , eegbci , multimodal sample . data_path ( ) testing . data_path ( ) misc . data_path ( ) spm_face . data_path ( ) somato . data_path ( ) multimodal . data_path ( ) sys . argv += [ '--accept-brainstorm-license' ] try : brainstorm . bst_raw . data_path ( ) brainstorm . bst_auditory . data_path ( ) brainstorm . bst_phantom_elekta . data_path ( ) brainstorm . bst_phantom_ctf . data_path ( ) finally : sys . argv . pop ( ( - 1 ) ) megsim . load_data ( condition = 'visual' , data_format = 'single-trial' , data_type = 'simulation' , update_path = True ) megsim . load_data ( condition = 'visual' , data_format = 'raw' , data_type = 'experimental' , update_path = True ) megsim . load_data ( condition = 'visual' , data_format = 'evoked' , data_type = 'simulation' , update_path = True ) eegbci . load_data ( 1 , [ 6 , 10 , 14 ] , update_path = True ) sys . argv += [ '--accept-hcpmmp-license' ] try : fetch_hcp_mmp_parcellation ( ) finally : sys . argv . pop ( ( - 1 ) )
helper to download all datasets used in examples and tutorials .