|
| 1 | +% (C) Copyright 2023 bidspm developers |
| 2 | + |
| 3 | +clear; |
| 4 | +clc; |
| 5 | + |
| 6 | +addpath(fullfile(pwd, '..', '..')); |
| 7 | +bidspm(); |
| 8 | + |
| 9 | +participant_label = {'01'}; |
| 10 | +TASK = 'linebisection'; |
| 11 | + |
| 12 | +root_dir = fileparts(mfilename('fullpath')); |
| 13 | +bids_dir = fullfile(root_dir, 'inputs', 'ds000114'); |
| 14 | +output_dir = fullfile(root_dir, 'outputs', 'ds000114', 'derivatives'); |
| 15 | +preproc = fullfile(output_dir, 'bidspm-preproc'); |
| 16 | + |
| 17 | +bidspm(bids_dir, output_dir, 'subject', ... |
| 18 | + 'participant_label', participant_label, ... |
| 19 | + 'action', 'copy', ... |
| 20 | + 'task', TASK, ... |
| 21 | + 'skip_validation', true, ... |
| 22 | + 'verbosity', 3); |
| 23 | + |
| 24 | +bids_filter_file = struct( ... |
| 25 | + 'bold', struct('modality', 'func', 'suffix', 'bold', 'ses', 'retest'), ... |
| 26 | + 't1w', struct('modality', 'anat', 'suffix', 'T1w')); |
| 27 | +bidspm(bids_dir, output_dir, 'subject', ... |
| 28 | + 'participant_label', participant_label, ... |
| 29 | + 'action', 'preprocess', ... |
| 30 | + 'task', TASK, ... |
| 31 | + 'space', {'IXI549Space'}, ... |
| 32 | + 'skip_validation', true, ... |
| 33 | + 'ignore', {'slicetiming', 'unwarp'}, ... |
| 34 | + 'bids_filter_file', bids_filter_file, ... |
| 35 | + 'fwhm', 6, ... |
| 36 | + 'verbosity', 3); |
0 commit comments