elliptical_aperture

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

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.

anglescalar

The orientation of the ellipse in radians.

——-
Field generator

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