ocelot.optics.ray

ray optics

Module Contents

Classes

Ray

Functions

find_intersections(ray, geo)

find the first intersection point of a ray with geometry

refl_matrix(no)

trace(ray, geo)

tracing the ray, starting from last segment

ocelot.optics.ray.intersection_tol = 1e-06
class ocelot.optics.ray.Ray(r0=[0, 0, 0], k=[0, 0, 1], lamb=2.0)

Bases: object

property w(self)

I’m the ‘x’ property.

ocelot.optics.ray.find_intersections(ray, geo)

find the first intersection point of a ray with geometry

ocelot.optics.ray.refl_matrix(no)
ocelot.optics.ray.trace(ray, geo)

tracing the ray, starting from last segment