aperture

pipe.aperture(shape, radius=None, xc=None, yc=None)[source]

Returns a boolean 2D-array of the same dimensions as frame with True inside radius from (xc, yc), and False outside. Used to define disc apertures. Default is center of frame and maximum radius inscribing the frame.