Skip to main content

Module ray

Module ray 

Source

Functions§

lens_maker_kernel
Calculates optical power and focal length using the Lens Maker’s Equation.
ray_transfer_kernel
Applies an ABCD matrix to a ray vector.
snells_law_kernel
Calculates refracted angle using Snell’s Law or returns a Critical Angle error.