elliptical_aperture

hcipy.aperture.elliptical_aperture(diameters, center=None)

Makes a Field generator for an elliptical aperture.

Parameters
diametersarray_like

The diameters of the aperture in the two directions.

centerarray_like or None

The center of the aperture.

Returns
Field generator

This function can be evaluated on a grid to get a Field.