pytomography.callbacks.liklihood
#
Module Contents#
Classes#
Computes the log-liklihood \(\sum \left(g\log(Hf) - Hf - \beta V(f) \right)\) after a given iteration. |
- class pytomography.callbacks.liklihood.LogLiklihoodCallback(projections, system_matrix, prior=None)[source]#
Bases:
pytomography.callbacks.callback.Callback
Computes the log-liklihood \(\sum \left(g\log(Hf) - Hf - \beta V(f) \right)\) after a given iteration.
- Parameters:
projections (torch.tensor) – Data corresponding to measured projections
system_matrix (SystemMatrix) – System matrix of imaging system.
prior (Prior, optional) – Prior used in Bayesian algorithm. Defaults to None.