%matplotlib inline
import opticspy
G1 = opticspy.gauss.gausscal(z = 2)
G2 = opticspy.gauss.gaussbeam(w0=1, P=5, z0=5, z=10)
T = opticspy.lens.aberration.third(1,1,0.2,1,1)
F = opticspy.lens.aberration.fieldcurve(sigma3 = 0.05, sigma4 = -0.05, FNO = 10, H = 20)
L1 = opticspy.lens.zoom_position.zoom_cal(f1 = 30,f2 = -30, fshort = 35, flong = 70)
L2 = opticspy.lens.zoom_position.zoom_cal2(40,60,400,-15,-2.5)
L3 = opticspy.lens.zoom_position.zoom_cal3(f0 = 330,f1 = -120, f2 = 80, flong = 180, fshort = 60, L_prime = 250)
pi = 3.1415926
H = opticspy.jones.HalfWavePlate()
H
H.rotate(pi/8)
Q = opticspy.jones.QuaterWavePlate()
Q
Q.rotate(pi/4)
B = opticspy.jones.Birefringence(1.6776,1.5534)
B
D = opticspy.jones.D1pol()
Q.rotate(pi/4)*H.rotate(pi/8)*D