Ray Tracing¶
This package implements a set of components to perform ray tracing for common optical systems.
Characterizing rays¶
|
A class representing a batch of rays, which means both the origin and direction are tensors with the last dimension as 3, representing three coordinates x, y and z. |
Error meaning that valid rays vanish. |
Optical surfaces¶
|
Returns the equivalent paraxial system of a collection of surfaces at given wavelengths. |
|
Returns a list of accessible subclasses of |
|
A subclass of |
|
A subclass of |
|
A class representing the context of a |
|
Derived class of |
|
Configuration for intersection-determination algorithm. |
|
Base class for optical surfaces in a group of lens. |
|
A sequential container of surfaces. |
Apertures¶
|
Base class for aperture shapes. |
|
Circular aperture with radius |
|
Annular aperture with a inner radius and a outer one. |
Specific surface types¶
|
|
|
Stops whose aperture is circularly symmetric. |
|
Conic surfaces. |
|
Even aspherical surfaces. |
|
Fresnel lens surface. |
|
Grating surface. |
|
Planar surface. |
|
A planar surface imparting a phase shift to incident rays, parameterized as follows: |
|
Spherical surfaces. |
|
This type of surfaces only blocks rays outside the aperture and does not change their energy or direction. |
|
A model for thin lens. |
|
Ray-tracing-based optical systems¶
|
A class of sequential and ray-tracing-based optical system model. |
Configuration for Newton’s method¶
TODO