-
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
Generalisation of Priors class #694
Comments
In light of #901, I am more so inclinded to add an intermediate class, i.e. In #901 I have begun to add |
There is a lot of code duplication for each of the priors. The priors implemented right now are:
There are additional priors that could easily be added:
Each of these priors has its own iterator of the computation of value and gradient and generally act over a local neighbourhood.
All priors (except FilterRoot) an implementation of the usage of the spatially variable penalty strength (kappa).
There are a selection of priors (i.e. QP, logcosh, hubber) can utilise
parabolic_surrogate_curvature
.It seems that a lot of this functionality should belong in
Generalised Prior
(https://github.com/UCL/STIR/blob/master/src/recon_buildblock/GeneralisedPrior.cxx) or more likely an intermediary class, e.g.Gibbs prior
that contains all the common methods, such as an iterator for the function and the gradient.This issue is just to note some ideas regarding the generalisation of the priors.
The text was updated successfully, but these errors were encountered: