pyoptools.raytrace.surface.taylor_poly module

Module that defines a polynomical optical surface, using taylor polynomials

class pyoptools.raytrace.surface.taylor_poly.TaylorPoly

Bases: Surface

Class that defines a high order polynomical surface

An aspherical surface is defined as:

Z= poly2d(x,y)
Example
>>> cs=TaylorPoly(shape=Rectangle(size=(5,5)), poly =poly2d((0,1,1)))
normal(int_p)

Return the vector normal to the surface

This method returns the vector normal to the asphere at a point int_p=(x,y,z).

Note: It uses x and y to calculate the z value and the normal.

poly
zmax
zmin