NgonAperture
- class poppy.NgonAperture(name=None, nsides=6, radius=<Quantity 1. m>, rotation=0.0, **kwargs)[source]
Bases:
AnalyticOpticalElement
Defines an ideal N-gon pupil aperture.
- Parameters:
- namestring
Descriptive name
- nsidesinteger
Number of sides. Default is 6.
- radiusfloat
radius to the vertices, meters. Default is 1.
- rotationfloat
Rotation angle to first vertex, in degrees counterclockwise from the +X axis. Default is 0.
- TODO: get_transmission() extremely slow when using CuPy, find better solution
Methods Summary
get_transmission
(wave)Compute the transmission inside/outside of the occulter.
Methods Documentation