fmriprep
fmriprep copied to clipboard
Insert one checkpoint node using AFNI's tool for flip detection
This would be trivial to implement and probably save a few headaches. fMRIPrep should not stop the processing, but report big red banners with each functional when they were found to be flipped.
There's a paper about it - https://www.frontiersin.org/articles/10.3389/fninf.2020.00018/full
Here's the code: https://github.com/afni/afni/blob/a836b5b4834d1525f9404304e218fc90d1bd1c0c/src/python_scripts/scripts/align_epi_anat.py#L2133-L2213