Rotation
- class poppy.Rotation(angle=0.0, units='degrees', hide=False, **kwargs)[source]
Bases:
CoordinateTransform
Performs a rotation of the axes in the optical train.
This is not an actual optic itself, of course, but can be used to model a rotated optic by appling a Rotation before and/or after light is incident on that optic.
This is basically a placeholder to indicate the need for a rotation at a given part of the optical train. The actual rotation computation is performed in the Wavefront object’s propagation routines.
- Parameters:
- anglefloat
Rotation angle, counterclockwise. By default in degrees.
- units‘degrees’ or ‘radians’
Units for the rotation angle.
- hidebool
Should this optic be displayed or hidden when showing the planes of an OpticalSystem?