make_segmented_aperture

hcipy.aperture.make_segmented_aperture(segment_shape, segment_positions, segment_transmissions=1, return_segments=False)

Create a segmented aperture.

Parameters
segment_shapeField generator

The shape for each of the segments.

segment_positionsGrid

The center position for each of the segments.

segment_transmissionsscalar or ndarray

The transmission for each of the segments. If this is a scalar, the same transmission is used for all segments.

return_segmentsboolean

Whether to return a ModeBasis of all segments as well.

Returns
Field generator

The segmented aperture.

list of Field generators

The segments. Only returned if return_segments is True.