rayoptics.seq.gap module

Gap container class

gap_medium(g) → str[source]

return a formatted string of the gap’s medium.

class Gap(t=0.0, med=<opticalglass.opticalmedium.Air object>)[source]

Bases: object

Gap 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

a Medium or a catalog glass instance

listobj_str()[source]
sync_to_restore(seq_model)[source]
apply_scale_factor(scale_factor)[source]