-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ML_estimate_component_based_normalisation
and apply_norm_factors3D
cannot be used without saving to disk
#1498
Comments
Upon further review of STIR/src/utilities/apply_normfactors3D.cxx Lines 91 to 97 in c51067d
|
Yes, the intention was to let all this work via |
Do you mean for
It could be as simple as a method on the |
no, I don't think that's a good idea.
yes
well, |
These are executable files for computing normalization and a brief description of how they are implmented:
find_ML_normfactors3D
: callsML_estimate_component_based_normalisation
and the single function there. Additionally, the documentation inML_estimate_component_based_normalisation.h
is lacking.find_ML_normfactors
: implements much of the functionality in the main function.apply_normfactors3D
: implements things in the main function, at least is very short.apply_normfactors
: does the same asapply_normfactors3D
(code duplication?)Most of the following pertains to
find_ML_normfactors3D
andfind_ML_normfactors
. The above functionality saves the computed data to be saved to disk, rather than returning/utilizing a shared_ptr.The core functionality of these executables should be split into various components.
To implement this:
ML_estimate_component_based_normalisation
function with a class/function..The text was updated successfully, but these errors were encountered: