Prism
- class hcipy.optics.Prism(angle_of_incidence, prism_angle, refractive_index, orientation=0)[source]
Bases:
OpticalElementA prism that deviates the beam.
- Parameters:
- angle_of_incidencescalar
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.
Methods Summary
backward(wavefront)Propagate a wavefront backward through the optical element.
forward(wavefront)Propagate a wavefront forward through the optical element.
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.
Methods Documentation
- backward(wavefront)[source]
Propagate a wavefront backward through the optical element.
A backward propagation is a literal backward propagation through the element. It is not (in general) the inverse of the forward propagation, except in cases where energy is conserved.
This function will be implemented by the derived class.
- Parameters:
- wavefrontWavefront
The wavefront to propagate.
- Returns:
- Wavefront
The propagated wavefront.
- forward(wavefront)[source]
Propagate a wavefront forward through the optical element.
This will be implemented by the derived class.
- Parameters:
- wavefrontWavefront
The wavefront to propagate.
- Returns:
- Wavefront
The propagated wavefront.
- minimal_deviation_angle(wavelength)[source]
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.