Definition at line 216 of file general_optics.py. 00216 : 00217 "format ourself as a nice string given r, w and the distance dz to the next waist" 00218 r,w=self.rw(qi) 00219 if r is not Infinity: 00220 r="%.5g" % r 00221 dz=(1.0/qi).real 00222 return ("r=%s w=%.5g dz=%.4f" % (r,w, dz)) # +" qi=("+str(qi)+")" 00223 def __str__(self):
|