make_spider

hcipy.aperture.make_spider(p1, p2, spider_width)

Make a rectangular obstruction from p1 to p2.

Parameters:
p1list or ndarray

The starting coordinates of the spider.

p2list or ndarray

The end coordinates of the spider.

spider_widthscalar

The full width of the spider.

Returns:
Field generator

The spider obstruction.