Hi all,
I am posting here a warning in the use of fMRIRealign4d following this discussion with A.Roche:
https://github.com/alexis-roche/nipy/pull/2The slice order is not defined as in spm (listing the indices of the slices being acquired in temporal order) but as the list of temporal position sorted by slice order which can be confusing.
The default interleaved scheme defined in Image4d is not the most common one neither (see thread) being interleaved as defined in spm but used as described above.
If slice order is misspecified this can cause estimation/resampling error if time interpolation is used, so beware!