hard_aperture#
- abtem.transfer.hard_aperture(alpha, semiangle_cutoff)[source]#
Calculates an array with a disk of ones and a soft edge.
- Parameters:
alpha (2D array) – Array of radial angles [mrad].
semiangle_cutoff (float or 1D array) – Semiangle cutoff(s) of the aperture(s). If given as an array, a 3D array is returned where the first dimension represents a different aperture for each item in the array of semiangle cutoffs.
- Returns:
hard_aperture_array
- Return type:
2D or 3D np.ndarray