82 cout <<
"This optimizer is only a squeleton template to explain how to add an optimizer into CASToR." << endl;
83 cout <<
"If you want to implement your own optimizer, start from here." << endl;
84 cout <<
"The following options can be used (in this particular order when provided as a list):" << endl;
85 cout <<
" my parameter: blablabla" << endl;
142 if (
m_verbose>=2)
Cout(
"iOptimizerTemplate::InitializeSpecific() -> Use the template optimizer" << endl);
157 FLTNB a_multiplicativeCorrections,
FLTNB a_additiveCorrections,
FLTNB a_blankValue,
191 FLTNB a_multiplicativeCorrections,
FLTNB a_additiveCorrections,
FLTNB a_blankValue,
212 *ap_backwardValues = 1.;
231 *ap_newImageValue = a_currentImageValue;
bool m_listmodeCompatibility
~iOptimizerTemplate()
The destructor of iOptimizerTemplate.
int ImageSpaceSpecificOperations(FLTNB a_currentImageValue, FLTNB *ap_newImageValue, FLTNB a_sensitivity, FLTNB *ap_correctionValues, INTNB a_voxel)
This function perform the image update step specific to the optimizer.
bool m_emissionCompatibility
Declaration of class iOptimizerTemplate.
iOptimizerTemplate()
The constructor of iOptimizerTemplate.
int CheckSpecificParameters()
A private function used to check the parameters settings specific to the child optimizer.
bool m_histogramCompatibility
int ReadOptionsList(const string &a_optionsList)
A function used to read options from a list of options.
int InitializeSpecific()
This function is used to initialize specific stuff to the child optimizer.
bool m_transmissionCompatibility
This class is designed to generically described any iterative optimizer.
This class is designed to manage and store system matrix elements associated to a vEvent...
int SensitivitySpecificOperations(FLTNB a_data, FLTNB a_forwardModel, FLTNB *ap_weight, FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections, FLTNB a_blankValue, FLTNB a_quantificationFactor, oProjectionLine *ap_Line)
This function compute the weight associated to the provided event (for sensitivity computation) ...
Declaration of class sOutputManager.
int ReadConfigurationFile(const string &a_configurationFile)
A function used to read options from a configuration file.
void ShowHelpSpecific()
A function used to show help about the child optimizer.
int DataSpaceSpecificOperations(FLTNB a_data, FLTNB a_forwardModel, FLTNB *ap_backwardValues, FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections, FLTNB a_blankValue, FLTNB a_quantificationFactor, oProjectionLine *ap_Line)
This function performs the data space operations specific to the optimizer (computes the values to be...