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 e89a28f commit 9ed6a6eCopy full SHA for 9ed6a6e
fmriprep/interfaces/surf.py
@@ -227,6 +227,18 @@ def normalize_surfs(in_file, transform_file):
227
228
229
def load_transform(fname):
230
+ """Load affine transform from file
231
+
232
+ Parameters
233
+ ----------
234
+ fname : str or None
235
+ Filename of an LTA or FSL-style MAT transform file.
236
+ If ``None``, return an identity transform
237
238
+ Returns
239
+ -------
240
+ affine : (4, 4) numpy.ndarray
241
+ """
242
if fname is None:
243
return np.eye(4)
244
0 commit comments