antialias_aperture

antialias_aperture#

abtem.antialias.antialias_aperture(gpts, sampling, xp=None)[source]#

Array defining a Fourier-space antialiasing aperture.

Parameters:
  • gpts (two int, optional) – Number of grid points in x and y describing the antialiasing aperture.

  • sampling (two float, optional) – Reciprocal-space sampling in x and y of the antialiasing aperture. Units are arbitrary.

Returns:

antialias_aperture_array

Return type:

np.ndarray