Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Markiewicz <[email protected]>
  • Loading branch information
oesteban and effigies authored Aug 21, 2023
1 parent ea349cd commit 2bf307f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdcflows/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ def grid_bspline_weights(target_nii, ctrl_nii, dtype="float32"):

# Our original design matrices had size (K, L)
# However, BSpline.design_matrix() generates a size of (L, K + 2),
# hence the trasposition (and zero-padding of 1 at every face when using these)
# hence the transposition (and zero-padding of 1 at every face when using these)
wd.append(BSpline.design_matrix(locs, knots, 3).T)

# Calculate the tensor product of the three design matrices
Expand Down

0 comments on commit 2bf307f

Please sign in to comment.