[SyneRBI/SIRF] Make template for ListmodeToSinograms optional (Issue #1372)

2 views
Skip to first unread message

Kris Thielemans

unread,
Jan 29, 2026, 7:26:14 PMJan 29
to SyneRBI/SIRF, Subscribed
KrisThielemans created an issue (SyneRBI/SIRF#1372)

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
https://github.com/SyneRBI/SIRF/blob/11a6a50fc13bf52439d0c1ec15ebacfbadada8c5/src/xSTIR/cSTIR/include/sirf/STIR/stir_x.h#L649
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.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF/issues/1372@github.com>

Reply all
Reply to author
Forward
0 new messages