23#ifndef __stir_recon_buildblock_PoissonLogLikelihoodWithLinearModelForMeanAndListModeDataWithProjMatrixByBin_H__
24#define __stir_recon_buildblock_PoissonLogLikelihoodWithLinearModelForMeanAndListModeDataWithProjMatrixByBin_H__
57template <
typename TargetT>
58class PoissonLogLikelihoodWithLinearModelForMeanAndListModeDataWithProjMatrixByBin
59 :
public RegisteredParsingObject<PoissonLogLikelihoodWithLinearModelForMeanAndListModeDataWithProjMatrixByBin<TargetT>,
60 GeneralisedObjectiveFunction<TargetT>,
61 PoissonLogLikelihoodWithLinearModelForMeanAndListModeData<TargetT>>
75 PoissonLogLikelihoodWithLinearModelForMeanAndListModeDataWithProjMatrixByBin();
90 const TargetT& current_estimate,
92 const bool add_sensitivity)
override;
95 const TargetT& current_image_estimate,
97 const int subset_num)
const override;
103 const shared_ptr<BinNormalisation>& get_normalisation_sptr()
const {
return this->normalisation_sptr; }
105 unique_ptr<ExamInfo> get_exam_info_uptr_for_target()
const override;
107 void set_proj_matrix(
const shared_ptr<ProjMatrixByBin>&);
109 void set_skip_balanced_subsets(
const bool arg);
111#if STIR_VERSION < 060000
113 void set_max_ring_difference(
const int arg);
117 Succeeded set_up_before_sensitivity(shared_ptr<const TargetT>
const& target_sptr)
override;
119 void add_subset_sensitivity(TargetT& sensitivity,
const int subset_num)
const override;
121#if STIR_VERSION < 060000
158 mutable std::vector<BinAndCorr> record_cache;
168 bool load_listmode_batch(
unsigned int ibatch)
const;
181 bool read_listmode_batch(
unsigned int ibatch)
const;
188 bool load_listmode_cache_file(
unsigned int file_id)
const;
189 Succeeded write_listmode_cache_file(
unsigned int file_id)
const;
191 unsigned int num_cache_files;
192 mutable std::vector<double> end_time_per_batch;
This file declares the class stir::ExamInfo.
Declaration of class stir::ProjDataFromStream.
Declaration of class stir::ProjDataInMemory.
declaration of stir::ProjMatrixByBin and its helpers classes
Declares class stir::ProjectorByBinPairUsingProjMatrixByBin.
Declaration of class stir::RegisteredParsingObject.
A base class for 'generalised' objective functions, i.e. objective functions for which at least a 'gr...
Definition GeneralisedObjectiveFunction.h:84
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files.
Definition RegisteredParsingObject.h:78
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition Succeeded.h:44
This file declares a deprecation macro.
#define STIR_DEPRECATED
Deprecation macro.
Definition deprecated.h:21
Declaration of the main functions that perform parallel processing.
Declaration of stir::error()