ptypy.custom.DM_object_regul.DM_object_regul#

class ptypy.custom.DM_object_regul.DM_object_regul(ptycho_parent, pars=None)#

Bases: DM

An extension of DM with the following additional parameters

__init__(ptycho_parent, pars=None)#

Difference map reconstruction engine.

Methods

__init__(ptycho_parent[, pars])

Difference map reconstruction engine.

center_probe()

clip_object(ob)

engine_finalize()

Try deleting ever helper container.

engine_initialize()

Prepare for reconstruction.

engine_iterate([num])

Compute num iterations.

engine_prepare()

Last minute initialization.

finalize()

Clean up after iterations are done.

fourier_update()

DM Fourier constraint update (including DM step).

initialize()

Prepare for reconstruction.

iterate([num])

Compute one or several iterations.

object_update()

Replace values inside mask with given fill value.

overlap_update()

DM overlap constraint update.

position_update()

Position refinement update.

prepare()

Last-minute preparation before iterating.

probe_update()

DM probe update.

support_constraint([storage])

Enforces 2D support contraint on probe.

Attributes

COMPATIBLE_MODELS

DEFAULT

POSREF_ENGINES

SUPPORTED_MODELS

alpha

engine_finalize()#

Try deleting ever helper container.

engine_initialize()#

Prepare for 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.

fourier_update()#

DM Fourier constraint update (including DM step).

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.

object_update()#

Replace values inside mask with given fill value.

overlap_update()#

DM overlap constraint update.

position_update()#

Position refinement update.

prepare()#

Last-minute preparation before iterating.

probe_update()#

DM probe update.

support_constraint(storage=None)#

Enforces 2D support contraint on probe.