Closed poquirion closed 5 years ago
So we can read scan metadata and apply directly the correction found there. in the fmri pipeline:
pipeline.slice_timing_subXXX_sessInitialMRI_taskrestrun001.command ans = niak_brick_slice_timing(files_in,files_out,opt); pipeline.slice_timing_sub108779_sessInitialMRI_taskrestrun001.opt ans = scalar structure containing the fields: folder_out = /home/poquirion/simexp/dev_script/folder_out/intermediate/sub108779/slice_timing/ flag_test = 0 iter_nu_correct = 3 arg_nu_correct = -distance 200 flag_nu_correct = 0 flag_center = 0 type_scanner = flag_history = 0 flag_even_odd = 0 flag_regular = 1 flag_skip = 0 flag_variance = 1 suppress_vol = 0 interpolation = linear slice_order = [](0x0) type_acquisition = manual first_number = odd step = [](0x0) ref_slice = [](0x0) timing = [](0x0) nb_slices = [](0x0) tr = [](0x0) delay_in_tr = 0 flag_verbose = 1
@pbellec you suggest adding the chage (in the opt) when the pipline is buid but before it is ran, did I got that right?
I will rewrite niak_brick_slice_timing so in manual mode it can take a list of float and the scanning direction.
niak_brick_slice_timing
The correction needs to be done directly in niak_slice_timing
So we can read scan metadata and apply directly the correction found there. in the fmri pipeline:
@pbellec you suggest adding the chage (in the opt) when the pipline is buid but before it is ran, did I got that right?