Thanks, Paul.
So, I'm using the below code, but the program ends with an error. I think I'm making an error with the freq maps...but not sure. In the following, 16_FieldMap.nii is the phase file I get from the scanner and 15_FieldMap.nii is one of the magnitude files. Do I need to alter the phase file or is putting the -scale_freq doing this for me?
epi_b0_correct.py \
-epi_pe_echo_sp 0.00031 \
-epi_pe_dir AP \
-scale_freq 0.311785 \
-in_freq 16_FieldMap.nii \
-do_recenter_freq MEAN \
-in_magn 15_FieldMap.nii \
-in_epi sub-055_ses-01_task-rest_bold.nii \
-prefix b0_corr
Thanks again. --C