ptypy.engines.ML.PoissonModel#

class ptypy.engines.ML.PoissonModel(MLengine)#

Bases: BaseModel

Poisson noise model.

__init__(MLengine)#

Core functions for ML computation using a Poisson model.

Methods

__init__(MLengine)

Core functions for ML computation using a Poisson model.

new_grad()

Compute a new gradient direction according to a Poisson noise model.

poly_line_all_coeffs(ob_h, pr_h)

Compute all the coefficients of the polynomial for line minimization in direction h

poly_line_coeffs(ob_h, pr_h)

Compute the coefficients of the polynomial for line minimization in direction h

prepare()

new_grad()#

Compute a new gradient direction according to a Poisson noise model.

Note: The negative log-likelihood and local errors are also computed here.

poly_line_all_coeffs(ob_h, pr_h)#

Compute all the coefficients of the polynomial for line minimization in direction h

poly_line_coeffs(ob_h, pr_h)#

Compute the coefficients of the polynomial for line minimization in direction h