pyoptools.raytrace.surface.idealsurface module

Modulo con clases y funciones auxiliares.

class pyoptools.raytrace.surface.idealsurface.IdealSurface

Bases: pyoptools.raytrace.surface.surface.Surface

Clase que representa una superficie ideal. Se utiliza para crear lentes ideales

f
normal()

Method that returns the normal to the surface

propagate()

Method to calculate the ray refracted on a surface.

This method calculates the ray refracted (or rays refracted and reflected)on a surface.

Parameters:
  • -- incident ray (ri) –
  • -- refraction index in the incident media n. (ni) –
  • -- refraction index in the refracted media (nr) –

ri must be in the coordinate system of the surface

topo()

Method that returns the topography of the surface

The matrix returned is z=f(x,y). This method mus be overloaded in all subclasses of Surface.