MRtrix3 / mrtrix3

MRtrix3 provides a set of tools to perform various advanced diffusion MRI analyses, including constrained spherical deconvolution (CSD), probabilistic tractography, track-density imaging, and apparent fibre density
http://www.mrtrix.org
Mozilla Public License 2.0
281 stars 176 forks source link

dwifslpreproc: -rpe_revonly option #2937

Open Lestropie opened 1 week ago

Lestropie commented 1 week ago

Related to, but distinct from, #2714.

There is a particular acquisition style that is supported when using -rpe_header, but for which no manual command-line option exists. This is where the explicit spin-echo EPIs outside of the DWI series acquired solely for susceptibility field estimation only possess the opposite phase encoding direction to the DWIs. To estimate the field therefore, these data must be concatenated with the DWI b=0 volumes. The code path therefore already exists. But in generating course content, it occurs to me that manual manipulation of these data into the form expected by the -rpe_pair operation mode is clumsy and limited (must have equivalent number of volumes with either phase encoding direction). So just having this code path activate via a new command-line option, and having rpe_header follow that path if deemed necessary given the input data, shouldn't be too difficult.