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 9883468 commit 5b93bccCopy full SHA for 5b93bcc
nitransforms/io/x5.py
@@ -51,3 +51,19 @@ def from_filename(cls, filename):
51
if str(filename).endswith(".h5"):
52
with H5File(str(filename)) as f:
53
return cls.from_h5obj(f)
54
+
55
+class X5LinearTransformArray(BaseLinearTransformList):
56
+ """A string-based structure for series of X5 linear transforms."""
57
58
+ _inner_type = X5LinearTransform
59
60
+ @property
61
+ def xforms(self):
62
+ """Get the list of internal ITKLinearTransforms."""
63
+ return self._xforms
64
65
+ @xforms.setter
66
+ def xforms(self, value):
67
+ self._xforms = list(value)
68
+ for i, val in enumerate(self.xforms):
69
+ val["index"] = i
0 commit comments