nipy / nipype

Workflows and interfaces for neuroimaging packages
https://nipype.readthedocs.org/en/latest/
Other
741 stars 523 forks source link

FNIRT #3259

Open mikiwang820 opened 3 years ago

mikiwang820 commented 3 years ago

Summary

hi, I want to know how long "FNIRT" function take for one example in general? cause, I wait for it over an hour, it only output txt file... and my code still running.

Actual behavior

here is my code...

fnirt_mprage = fsl.FNIRT()

fnirt_mprage.affine_file = mat

fnirt_mprage.inputs.warp_resolution = (1, 1, 1) #specific resolution

res = fnirt_mprage.run(in_file=image, ref_file=templete_path, warped_file=image[:-22] + '_warped.nii', fieldcoeff_file=image[:-22] + '_fieldcoeff.nii')

print("finishing...")

Expected behavior

this image already did linear registration, I hope get warped field.

effigies commented 3 years ago

Hi, thanks for posting, and sorry for the slow response. The FSL mailing list is going to be a better place for help with specific FSL tools. Nipype just provides interfaces and we don't necessarily have a lot of experience with any particular one.