!!! Caution !!! These methods and function sets are not mature, still need to check the equations and theory behindit. Now it is only give users a rough idea about Orthonormal Rectangular Polynomials

Opticspy could provide R1-R15 Orthonormal Rectangular Polynomials for rectangle aperture

In [1]:
%matplotlib inline
import opticspy
R = opticspy.zernike_rec.Coefficient(R5=1,R6=0.5,R7=0.2)
R.zernikesurface()
In [2]:
R.zernikemap()
Out[2]:
0
In [3]:
R.psf()
Out[3]:
0
In [4]:
R.mtf()
Out[4]:
0
In [5]:
R = opticspy.zernike_rec.Coefficient(R8=1,R9=0.5,R12=0.2)
R.zernikesurface()
In [6]:
R.zernikemap()
Out[6]:
0
In [7]:
R.psf()
Out[7]:
0
In [8]:
R.mtf()
Out[8]:
0
In [ ]: