Prism
- class hcipy.optics.Prism(angle_of_incidence, prism_angle, refractive_index, orientation=0)
Bases:
SurfaceApodizer
A prism that deviates the beam.
- Parameters:
- angle_of_incidencesacalar
The angle of incidence of the wavefront in radians.
- prism_anglescalar
The angle of the prism in radians.
- refractive_indexscalar or function of wavelength
The refractive index of the prism.
- orientationscalar
The orientation of the prism in radians. The default orientation is aligned along the y-axis.
Attributes Summary
Methods Summary
minimal_deviation_angle
(wavelength)Find the angle of minimal deviation for a prism.
prism_sag
(grid, wavelength)Calculate the sag profile for the prism.
trace
(wavelength)Trace a ray through the prism.
Attributes Documentation
- orientation
- prism_angle
Methods Documentation
- minimal_deviation_angle(wavelength)
Find the angle of minimal deviation for a prism.
- Parameters:
- wavelengthscalar
The wavelength that is traced through the prism.
- Returns:
- scalar
The angle of minimal deviation in radians.
- prism_sag(grid, wavelength)
Calculate the sag profile for the prism.
- Parameters:
- gridGrid
The grid on which the surface sag is calculated.
- wavelengthscalar
The wavelength for which the surface sag is calculated.
- Returns:
- Field
The surface sag.
- trace(wavelength)
Trace a ray through the prism.
- Parameters:
- wavelengthscalar
The wavelength that is traced through the prism.
- Returns:
- scalar
The angle of deviation for the traced ray in radians.