pyoptools.raytrace.surface.cylindrical module

Module that defines a class to describe cylindrical surfaces

class pyoptools.raytrace.surface.cylindrical.Cylindrical

Bases: pyoptools.raytrace.surface.surface.Surface

Class to define cylindrical surfaces.

Cylindrical is a class to define cylindrical optical surfaces, with an aperture given by the shape attribute.

To define the cylindrical surface you should pass the size of the aperture, and the radius of curvature of the cylinder.

The vertex of the surface is located at the origin of coordinates (0, 0, 0).

Example

>>> cs=Cylindrical(shape=Rectangular(size=(10,20)),curvature=0.15)

See Surface documentation for other options

curvature
normal()

Normal vector at the point ip.

This method returns the normal vector at a specific intersection point.

This method is overloaded from the superclass Surface.

topo()

Method that returns the topography of the surface

The matrix returned is z=f(x,y). This method is overloaded from the superclass Surface.