:mod:`ocelot.optics.ray` ======================== .. py:module:: ocelot.optics.ray .. autoapi-nested-parse:: ray optics Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: ocelot.optics.ray.Ray Functions ~~~~~~~~~ .. autoapisummary:: ocelot.optics.ray.find_intersections ocelot.optics.ray.refl_matrix ocelot.optics.ray.trace .. data:: intersection_tol :annotation: = 1e-06 .. py:class:: Ray(r0=[0, 0, 0], k=[0, 0, 1], lamb=2.0) Bases: :class:`object` .. method:: w(self) :property: I'm the 'x' property. .. function:: find_intersections(ray, geo) find the first intersection point of a ray with geometry .. function:: refl_matrix(no) .. function:: trace(ray, geo) tracing the ray, starting from last segment