make_fft_grid

hcipy.fourier.make_fft_grid(input_grid, q=1, fov=1, shift=0)

Calculate the grid returned by a Fast Fourier Transform.

Parameters:
input_gridGrid

The grid defining the sampling in the real domain..

qscalar or array_like

The amount of zeropadding to perform. A value of 1 denotes no zeropadding.

fovscalar or array_like

The amount of cropping to perform in the Fourier domain.

shiftscalar or array_like

The shift to apply on the output grid.

Returns:
Grid

The grid defining the sampling in the Fourier domain.