Skip to content

Commit

Permalink
removed commented-out member function of ListmodeToSinograms
Browse files Browse the repository at this point in the history
  • Loading branch information
evgueni-ovtchinnikov committed May 29, 2024
1 parent 413808f commit b5a4b8d
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions src/xSTIR/cSTIR/include/sirf/STIR/stir_x.h
Original file line number Diff line number Diff line change
Expand Up @@ -740,26 +740,7 @@ The actual algorithm is described in
estimate_randoms();
randoms_sptr = get_randoms_sptr();
}
/*
void acquisition_sensitivity_from_attenuation(
std::shared_ptr<STIRAcquisitionData> acq_templ_sptr,
std::shared_ptr<STIRImageData> attn_image_sptr,
std::shared_ptr<STIRAcquisitionData>& acq_sens_sptr)
{
PETAcquisitionModelUsingRayTracingMatrix acq_mod;
acq_mod.set_up(acq_templ_sptr, attn_image_sptr);
std::shared_ptr<PETAttenuationModel>
asm_sptr(new PETAttenuationModel(*attn_image_sptr, acq_mod));
PETAttenuationModel acq_sens_mod = *asm_sptr;
acq_sens_mod.set_up(acq_templ_sptr->get_exam_info_sptr(),
acq_templ_sptr->get_proj_data_info_sptr()->create_shared_clone());
acq_mod.set_asm(asm_sptr);
std::cout << "applying attenuation (please wait, may take a while)...\n";
acq_sens_sptr = acq_templ_sptr->clone();
acq_sens_sptr->fill(1.0);
acq_sens_mod.unnormalise(*acq_sens_sptr);
}
*/

protected:
// variables for ML estimation of singles/randoms
int fan_size;
Expand Down

0 comments on commit b5a4b8d

Please sign in to comment.