ptypy.engines.ML.ML#

class ptypy.engines.ML.ML(ptycho_parent, pars=None)#

Bases: PositionCorrectionEngine

Maximum likelihood reconstruction engine.

__init__(ptycho_parent, pars=None)#

Maximum likelihood reconstruction engine.

Methods

__init__(ptycho_parent[, pars])

Maximum likelihood reconstruction engine.

engine_finalize()

Delete temporary containers.

engine_initialize()

Prepare for ML reconstruction.

engine_iterate([num])

Compute num iterations.

engine_prepare()

Last minute initialization, everything, that needs to be recalculated, when new data arrives.

finalize()

Clean up after iterations are done.

initialize()

Prepare for reconstruction.

iterate([num])

Compute one or several iterations.

position_update()

Position refinement update.

prepare()

Last-minute preparation before iterating.

support_constraint([storage])

Enforces 2D support contraint on probe.

Attributes

COMPATIBLE_MODELS

DEFAULT

POSREF_ENGINES

SUPPORTED_MODELS

engine_finalize()#

Delete temporary containers.

engine_initialize()#

Prepare for ML reconstruction.

engine_iterate(num=1)#

Compute num iterations.

engine_prepare()#

Last minute initialization, everything, that needs to be recalculated, when new data arrives.

finalize()#

Clean up after iterations are done.

initialize()#

Prepare for reconstruction.

iterate(num=None)#

Compute one or several iterations.

numNone, int number of iterations.

If None or num<1, a single iteration is performed.

position_update()#

Position refinement update.

prepare()#

Last-minute preparation before iterating.

support_constraint(storage=None)#

Enforces 2D support contraint on probe.