Since STIR 6.3, LmToProjData no longer requires a template sinogram (it can still be used of course). It would be nice to have that in SIRF as well. The easiest might be to add a few lines after here
|
proj_data_info_sptr_.reset(lm_data_ptr->get_proj_data_info_sptr()->clone()); |
such as
if (!template_proj_data_info_ptr)
warning("ListmodeToSinograms::set_input overrides any existing acq_data_template with the default. Call set_template() if you don't want to use that.")
template_proj_data_info_ptr = proj_data_info_sptr_;
and some doc saying that the template is not needed when using STIR >= 6.3 as it will then use the highest resolution acq_data (which might be very large) supported by the list-mode data.
Since STIR 6.3,
LmToProjDatano longer requires a template sinogram (it can still be used of course). It would be nice to have that in SIRF as well. The easiest might be to add a few lines after hereSIRF/src/xSTIR/cSTIR/include/sirf/STIR/stir_x.h
Line 649 in 11a6a50
such as
and some doc saying that the template is not needed when using STIR >= 6.3 as it will then use the highest resolution acq_data (which might be very large) supported by the list-mode data.