make_fzp_probe#
- ptyrad.utils.physics.make_fzp_probe(probe_params, verbose=True)[source]#
Generates a Fresnel zone plate probe with internal Fresnel propagation for x-ray ptychography simulations.
- Parameters:
N (int) – Number of pixels.
lambda (float) – Wavelength.
dx (float) – Pixel size (in meters) in the sample plane.
Ls (float) – Distance (in meters) from the focal plane to the sample.
Rn (float) – Radius of outermost zone (in meters).
dRn (float) – Width of outermost zone (in meters).
D_FZP (float) – Diameter of pinhole.
D_H (float) – Diameter of the central beamstop (in meters).
- Returns:
Calculated probe field in the sample plane.
- Return type:
ndarray