tomocupy.retrieve_phase
Paganin phase retrieval implementation copied from tomopy
Functions:
|
Perform single-step phase retrieval from phase-contrast measurements [B2]. |
- tomocupy.retrieve_phase.paganin_filter(data, pixel_size=0.0001, dist=50, energy=20, alpha=0.001, pad=True)[source]
Perform single-step phase retrieval from phase-contrast measurements [B2].
- Parameters:
tomo (ndarray) – 3D tomographic data.
pixel_size (float, optional) – Detector pixel size in cm.
dist (float, optional) – Propagation distance of the wavefront in cm.
energy (float, optional) – Energy of incident wave in keV.
alpha (float, optional) – Regularization parameter.
pad (bool, optional) – If True, extend the size of the projections by padding with zeros.
- Returns:
ndarray – Approximated 3D tomographic phase data.