File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 325325
326326non_tof_backproj = proj .adjoint (xp .ones (coords0 .shape [0 ], dtype = "float32" ))
327327
328+ xp .save (Path (fname ).with_suffix (".non_tof_backproj.npy" ), non_tof_backproj )
329+
328330#### HACK assumes same TOF parameters for all module type pairs
329331sigma_tof = scanner_info .tof_resolution [0 ][0 ] / 2.35
330332tof_bin_edges = scanner_info .tof_bin_edges [0 ][0 ].edges
341343
342344tof_backproj = proj .adjoint (xp .ones (coords0 .shape [0 ], dtype = "float32" ))
343345
346+ xp .save (Path (fname ).with_suffix (".tof_backproj.npy" ), tof_backproj )
347+
344348del proj
345349
346350# %%
402406 end = "\r " ,
403407 )
404408 lm_exp = effs [sl ] * lm_subset_projs [i_subset ](res_model (recon ))
409+
405410 tmp = num_subsets * res_model .adjoint (
406411 lm_subset_projs [i_subset ].adjoint (effs [sl ] / lm_exp )
407412 )
You can’t perform that action at this time.
0 commit comments