Commit 7f7c288 1 parent 08f9808 commit 7f7c288 Copy full SHA for 7f7c288
File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,8 @@ def __init__(
134
134
self ._adjoint_ones += self ._obj_funs [i ].get_subset_sensitivity (0 )
135
135
136
136
self ._fov_mask = self .x .get_uniform_copy (0 )
137
- tmp = 1.0 * (self ._adjoint_ones .as_array () > 0 )
137
+ # tmp = 1.0 * (self._adjoint_ones.as_array() > 0)
138
+ tmp = 1.0 * (data .OSEM_image .as_array () > 0 )
138
139
self ._fov_mask .fill (tmp )
139
140
140
141
# add a small number in the adjoint ones outside the FOV to avoid NaN in division
Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ def get_image(fname):
386
386
print (srcdir )
387
387
data = get_data (srcdir = srcdir , outdir = outdir )
388
388
389
- print ( data .acquired_data . shape )
389
+ np . save ( f" { ds } .npy" , data .OSEM_image . as_array () )
390
390
391
391
# if image_type == "osem":
392
392
# x = data.OSEM_image
You can’t perform that action at this time.
0 commit comments