KeystoneSegmentedCircularAperture

class poppy.KeystoneSegmentedCircularAperture(name=None, radius=<Quantity 1. m>, rings=2, nsections=4, gap_radii=None, gap=<Quantity 0.01 m>, gray_pixel=False, rotation=0, **kwargs)[source]

Bases: MultiSegmentAperture, CircularAperture

Define a circular aperture made of pie-wedge or keystone shaped segments.

Parameters:
namestring, optional

Descriptive name. Auto-generated if not provided.

radiusastropy Quantity length or float

Radius of the full circular aperture, in meters. Default is 1.0 m.

ringsint

Number of rings of segments. Default is 2.

nsectionsint or list of ints

Number of segments per ring. If one int, the same number is used for each ring. Provide a list to set different numbers per ring. Use 0 as the first element to exclude the center for an on-axis aperture.

gap_radiiastropy Quantity length, optional

Radii from the center for the gaps between rings. Auto-computed if not given.

gapastropy Quantity length, optional

Width of gaps between segments in both radial and azimuthal directions. Default is 0.01 m.

gray_pixelbool, optional

Apply gray pixel approximation to return fractional transmission for edge pixels that are only partially within this aperture? Default is False.

rotationfloat, optional

Rotation of the overall aperture in degrees counterclockwise. Default is 0.

Methods Summary

get_transmission(wave)

Compute the transmission inside/outside of the aperture.

Methods Documentation

get_transmission(wave)[source]

Compute the transmission inside/outside of the aperture.

Note, this implementation draws the whole circular aperture then draws in the individual gaps, rather than drawing the aperture one segment at a time.