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):
35
35
return
36
36
37
37
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'''
39
39
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'''
46
41
return
47
42
48
43
@classmethod
@@ -61,9 +56,3 @@ class X5LinearTransformArray(BaseLinearTransformList):
61
56
def xforms (self ):
62
57
"""Get the list of internal ITKLinearTransforms."""
63
58
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