ewokstomo.tasks.online.preprocessing.apply_phase_retrieval#
- ewokstomo.tasks.online.preprocessing.apply_phase_retrieval(projections, distance_m, energy_keV, pixel_size_m, delta_beta)[source]#
Apply Paganin phase retrieval to projections.
- Return type:
Parameters#
- projectionsnp.ndarray
Array of projections with shape (n_angles, n_z, n_x).
- distance_mfloat
Effective propagation distance in meters.
- energy_keVfloat
Energy in keV.
- pixel_size_mfloat
Detector pixel size in meters.
- delta_betafloat, optional
delta/beta ratio, where n = (1 - delta) + i*beta is the complex refractive index of the sample.
Returns#
- np.ndarray
Phase-retrieved projections with the same shape as input.