rayoptics.oprops.thinlens module
Module for thin lens interface type
- class ThinLens(lbl='', power=0.0, ref_index=1.5, **kwargs)[source]
Bases:
Interface
- property profile_cv
- property optical_power
- intersect(p0, d, **kwargs)[source]
Intersect an
Interface
, starting from an arbitrary point.- Parameters:
p0 – start point of the ray in the interface’s coordinate system
d – direction cosine of the ray in the interface’s coordinate system
z_dir – +1 if propagation positive direction, -1 if otherwise
eps – numeric tolerance for convergence of any iterative procedure
- Returns:
distance to intersection point s1, intersection point p
- Return type:
- Raises: