def collection(): layout_path = join(get_test_data_path(), 'ds005') layout = BIDSLayout(layout_path, exclude='derivatives/') collection = layout.get_collections('run', types=['events'], scan_length=480, merge=True, sampling_rate=10) return collection
def run_coll(): path = join(get_test_data_path(), 'ds005') layout = BIDSLayout(path) return layout.get_collections('run', types=['events'], merge=True, scan_length=480)
def run_coll_list(): path = join(get_test_data_path(), 'ds005') layout = BIDSLayout(path, exclude='derivatives/') return layout.get_collections('run', types=['events'], merge=False, scan_length=480)