Skip to content

Make template for ListmodeToSinograms optional #1372

@KrisThielemans

Description

@KrisThielemans

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions