Skip to content

Commit a888d73

Browse files
dPysoesteban
andauthored
Update dmriprep/utils/images.py
Co-Authored-By: Oscar Esteban <[email protected]>
1 parent b6e917e commit a888d73

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

dmriprep/utils/images.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,14 @@ def quick_load_images(image_list, dtype=np.float32):
7777

7878

7979
def match_transforms(dwi_files, transforms, b0_indices):
80-
"""Arranges the order of a list of affine transforms to correspond with that of
81-
each individual dwi volume file, accounting for the indices of B0s. A helper
82-
function for EMC."""
80+
"""
81+
Arrange the order of a list of transforms.
82+
83+
This is a helper function for :abbr:`EMC (Eddy-currents and Motion Correction)`.
84+
Sorts the input list of affine transforms to correspond with that of
85+
each individual dwi volume file, accounting for the indices of :math:`b = 0` volumes.
86+
87+
"""
8388
num_dwis = len(dwi_files)
8489
num_transforms = len(transforms)
8590

0 commit comments

Comments
 (0)