We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf288c3 commit 46d3e71Copy full SHA for 46d3e71
nibabel/affines.py
@@ -79,6 +79,10 @@ def apply_affine(aff, pts):
79
def append_diag(aff, steps, starts=()):
80
""" Add diagonal elements `steps` and translations `starts` to affine
81
82
+ Typical use is in expanding 4x4 affines to larger dimensions. Nipy is the
83
+ main consumer because it uses NxM affines, whereas we generally only use 4x4
84
+ affines; the routine is here for convenience.
85
+
86
Parameters
87
----------
88
aff : 2D array
0 commit comments