-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Labels
Description
Some pointers to enable this.
The ProjDataInfo code:
- this would need be deleted
Lines 50 to 51 in 8ced2d7
if (num_tof_bins_to_combine != 1) error("SSRB: num_tof_bins_to_combine (%d) currently needs to be 1", num_tof_bins_to_combine); - This looks fine
Lines 134 to 140 in 8ced2d7
if (num_tof_bins_to_combine != 1) { if (num_tof_bins_to_combine < 1) error("SSRB: num_tof_bins_to_combine needs to be at least 1"); const int new_tof_mash_factor = in_proj_data_info_sptr->get_tof_mash_factor() * num_tof_bins_to_combine; out_proj_data_info_sptr->set_tof_mash_factor(new_tof_mash_factor); }
The actual rebinning code:
- compute
num_tof_bins_to_combinelike for views - add
inandout_timing_pos_numin various places when constructing the sinos - loop over
out_timing_pos_numhere - loop over
in_timing_pos_numhere - add
num_tof_bins_to_combinein the normalisation step
Line 277 in 8ced2d7
out_sino /= static_cast<float>(num_in_ax_pos * num_views_to_combine);
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
To do