Skip to content

Commit

Permalink
Change readout_times
Browse files Browse the repository at this point in the history
  • Loading branch information
khoffschlag committed Feb 10, 2024
1 parent 22238bc commit 8ca9aaf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PUMI/pipelines/func/deconfound.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,16 @@ def create_montage(vol_1, vol_2, vol_corrected, n_slices=10):

@FuncPipeline(inputspec_fields=['func_1', 'func_2'],
outputspec_fields=['out_file'])
def fieldmap_correction(wf, encoding_direction=['x-', 'x'], readout_times=[0.08264, 0.08264], tr=0.72, **kwargs):
def fieldmap_correction(wf, encoding_direction=['x-', 'x'], readout_times=[0.0522, 0.0522], tr=0.72, **kwargs):
"""
Fieldmap correction pipeline.
Parameters:
encoding_direction (list): List of encoding directions (default is left-right and right-left phase encoding).
readout_times (list): List of readout times (default adapted to rsfMRI data of the HCP WU 1200 dataset).
Default is:
1*(10**(-3))*EchoSpacingMS*EpiFactor = 1*(10**(-3))*0.58*90 = 0.0522 (for LR and RL image)
tr (float): Repetition time (default adapted to rsfMRI data of the HCP WU 1200 dataset).
Inputs:
Expand Down

0 comments on commit 8ca9aaf

Please sign in to comment.