File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,9 @@ def __str__(self):
3535 return
3636
3737 def to_filename (self , filename ):
38- """Store this transform to a file with the appropriate format."""
38+ '''store this transform to a file with the X5 format'''
3939 sa = self .structarr
40- affine = np .array (
41- np .hstack (
42- (sa ["parameters" ][:3 , :3 ].reshape (- 1 ), sa ["parameters" ][:3 , 3 ])
43- )[..., np .newaxis ],
44- dtype = "f8" ,
45- )
40+ affine = '''some affine that will return a 4x4 array'''
4641 return
4742
4843 @classmethod
@@ -61,9 +56,3 @@ class X5LinearTransformArray(BaseLinearTransformList):
6156 def xforms (self ):
6257 """Get the list of internal ITKLinearTransforms."""
6358 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
You can’t perform that action at this time.
0 commit comments