Definition at line 152 of file abcd_optics.py. 00152 : 00153 "resonator(r1, r2, length, lambda0) returns (z0, w0, w(mirror1), w(mirror2), offset for resonator with mirrors and length" 00154 abcd0=mirror(r1)*space(l)* mirror(r2)* space(l) 00155 art,brt,crt,drt=tuple(abcd0.abcd().flat) 00156 iqci2= (1.0 - (art+drt)**2 / 4) / brt**2 00157 rqci = (drt - art) / (2.0*brt) 00158 zoff = -rqci / (rqci**2 + iqci2) 00159 z0 = math.sqrt(iqci2) / (rqci**2 + iqci2) 00160 w0 = math.sqrt((lambda0*z0)/math.pi) 00161 return z0, w0, w0*math.sqrt(1+(zoff/z0)**2), w0*math.sqrt(1+((l-zoff)/z0)**2), zoff-l/2 00162 def abcd_resonator(abcd_rt, lambda0):
|