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, method='paganin', db=1000, W=0.0002, 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 for Paganin method.
method (string) – phase retrieval method. Standard Paganin or Generalized Paganin.
db (float, optional) – delta/beta for generalized Paganin phase retrieval
W (float) – Characteristic transverse lenght scale
pad (bool, optional) – If True, extend the size of the projections by padding with zeros.
- Returns:
ndarray – Approximated 3D tomographic phase data.