sporco.pgm.ppp¶
Classes for PGM variant of the Plug and Play Priors (PPP) algorithm.
Classes
|
Base class for Plug and Play Priors (PPP) PGM solvers [30]. |
|
Plug and Play Priors (PPP) solver [30] that can be used without the need to derive a new class. |
Class Descriptions¶
- class sporco.pgm.ppp.GenericPPP(*args, **kwargs)[source]¶
Bases:
PGM
Base class for Plug and Play Priors (PPP) PGM solvers [30].
- Parameters:
- xshapetuple of ints
Shape of working variable X
- opt
GenericPPP.Options
objectAlgorithm options
- itstat_fields_objfn = ('FVal',)¶
Fields in IterationStats associated with the objective function; see
eval_objfun
- hdrtxt_objfn = ('FVal',)¶
Display column headers associated with the objective function; see
eval_objfun
- hdrval_objfun = {'FVal': 'FVal'}¶
Dictionary mapping display column headers in
hdrtxt_objfn
to IterationStats entries
- eval_objfn()[source]¶
Compute components of objective function.
In this case the regularisation term is implicit so we can only evaluate the data fidelity term represented by the \(f(\cdot)\) component of the functional to be minimised.
- class sporco.pgm.ppp.PPP(*args, **kwargs)[source]¶
Bases:
GenericPPP
Plug and Play Priors (PPP) solver [30] that can be used without the need to derive a new class.
- Parameters:
- xshapetuple of ints
Shape of working variable X
- ffunction
Function evaluating the data fidelity term
- gradffunction
Function computing the gradient of the data fidelity term
- proxgfunction
Function computing the proximal operator of the regularisation term
- opt
PPP.Options
objectAlgorithm options