pyoptools.raytrace.surface.spherical module¶
-
class
pyoptools.raytrace.surface.spherical.
Spherical
¶ Bases:
pyoptools.raytrace.surface.surface.Surface
Class to define spherical surfaces.
Spherical is a class to define spherical optical surfaces.
To define the spherical surface you should pass the shape of the aperture, and the radius of curvature of the sphere.
The vertex of the surface is located at the origin of coordinates (0, 0, 0) and the aperture is centered also about the origin
Example
>>> cs=Spherical(shape=Circular(radius=60),curvature=0.15)
See Surface documentation for other options
-
curvature
¶
-
normal
()¶ Return the vector normal to the surface
This method returns the vector normal to the sphere at a point
int_p=(x,y,z)
.
-
topo
()¶ Returns the Z value for a given X and Y
This method returns the topography of the spherical surface to be used to plot the surface.
-