Utilities#

General Utilities#

ptypy.utils.array_utils

utility functions to manipulate/reshape numpy arrays.

ptypy.utils.math_utils

Numerical util functions.

ptypy.utils.misc

Miscellaneous utility functions with little dependencies from other modules

ptypy.utils.parallel

Utility functions and classes to support MPI computing.

ptypy.utils.parameters

Parameter definition.

ptypy.utils.plot_client

Client tools for plotting.

ptypy.utils.plot_utils

Plotting utilities.

ptypy.utils.scripts

Longer script-like functions.

ptypy.utils.descriptor

Parameter validation.

ptypy.utils.verbose

Verbose package, based on the standard logging library.

Debugging Utilities#

ptypy.debug.embedded_shell

Tool to embed an ipython shell for debugging.

ptypy.debug.ipython_kernel

Tool to embed an ipython kernel for debugging.

Simulation Utilities#

ptypy.simulations.detector

Detector module

ptypy.simulations.ptysim_utils

Utilities for the simulation package.

ptypy.simulations.simscan

Simulation of ptychographic datasets.

Resources#