ptypy.utils.scripts.stxm_analysis#
- ptypy.utils.scripts.stxm_analysis(storage, probe=None)#
Performs a stxm analysis on a storage using the pods.
This function is MPI compatible.
- Parameters:
storage (ptypy.core.Storage instance) – A
Storageinstance to be analysedprobe (None, scalar or array) –
If None, picks a probe from the first view’s pod
If scalar, uses a Gaussian with probe as standard deviation
Else: attempts to use passed value directly as 2d-probe
- Returns:
trans (ndarray) – Transmission of shape
storage.shape.dpc_row (ndarray) – Differential phase contrast along row-coordinates, i.e. vertical direction (y-direction) of shape
storage.shape.dpc_col (ndarray) – Differential phase contrast along column-coordinates, i.e. horizontal direction (x-direction) of shape
storage.shape.