ptypy.custom.MLOPR.MLOPR#
- class ptypy.custom.MLOPR.MLOPR(ptycho_parent, pars=None)#
Bases:
MLSubclass of Maximum likelihood reconstruction engine for independent probes (OPR).
- __init__(ptycho_parent, pars=None)#
Maximum likelihood reconstruction engine for independent probes.
Methods
__init__(ptycho_parent[, pars])Maximum likelihood reconstruction engine for independent probes.
Try deleting every helper container.
Prepare for ML reconstruction.
engine_iterate([num])Compute num iterations.
Last minute initialization, everything, that needs to be recalculated, when new data arrives.
finalize()Clean up after iterations are done.
Prepare for reconstruction.
iterate([num])Compute one or several iterations.
Position refinement update.
prepare()Last-minute preparation before iterating.
support_constraint([storage])Enforces 2D support contraint on probe.
Attributes
COMPATIBLE_MODELSDEFAULTPOSREF_ENGINESSUPPORTED_MODELS- engine_finalize()#
Try deleting every helper container. Gather independent probes for saving.
- 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.