rayoptics.seq.gap module
Gap container class
- class Gap(t: float = 0.0, med: ~opticalglass.opticalmedium.OpticalMedium = <opticalglass.opticalmedium.Air object>)[source]
Bases:
objectGap container class.
The gap class represents the space between 2 surfaces. It contains the media definition for the space and a (z) displacement between the adjacent surfaces.
The most common use case is an optical system with surfaces centered on a common axis. The Gap structure implements this case in the simplest manner. More complicated transformations between surfaces are implemented using transformations associated with the surfaces themselves.
- thi
the length (along z) of the gap
- medium
an
OpticalMediuminstance