.. _fedi_dmri_rotate_bvecs: fedi_dmri_rotate_bvecs ======================= .. rubric:: Synopsis Rotate the bvecs accordingly with a list of ANTs transformation matrices. .. rubric:: Usage :: fedi_dmri_rotate_bvecs [-h] -e -n -m [-s ] [-d ] .. rubric:: Options **Help** - **-h, --help** Show this help message and exit **Mandatory** - **-e, --bvecs ** Path to the input bvecs file (e.g., `bvecs`) - **-n, --robvecs ** Path to the output rotated bvecs file (e.g., `rotated_bvecs`) - **-m, --pathofmatfile ** Path to the directory containing transformation matrices **Optional** - **-s, --prefix ** Prefix for transformation matrix files (default: `'Transform_v'`) - **-d, --suffix ** Suffix for transformation matrix files (default: `'_0GenericAffine.mat'`). Each matrix file is expected to follow the naming: `prefix + volume_index + suffix` .. rubric:: References Snoussi, Haykel, Davood Karimi, Onur Afacan, Mustafa Utkur, and Ali Gholipour. *HAITCH: A framework for distortion and motion correction in fetal multi-shell diffusion-weighted MRI.* Imaging Neuroscience 2025.