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:

ndarray

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.

type projections:

ndarray

param projections:

type distance_m:

float

param distance_m:

type energy_keV:

float

param energy_keV:

type pixel_size_m:

float

param pixel_size_m:

type delta_beta:

float

param delta_beta: