def init (   self,
  theta1,
  clen,
  lambda0,
  center,
  angle,
  extras 
)

Definition at line 511 of file general_optics_example.py.

00511                                                                 :
00512         grating_offset=-0.075
00513         exit_height=-1.0*inch
00514         exit_z=-0.275
00515         my=blue_compressor
00516         basebeam=beam((0,0,-1.0), qtens(lambda0, w=0.001, r=Infinity))
00517         optics=self.setup_reflectors_blue(basebeam, theta1, clen, grating_offset, lam0=lambda0, inside_retro_err=0.0)
00518                     
00519         cs=Numeric.array((0, exit_height, -0.44)) #entrance to compressor, before rotation
00520     
00521         optics[my.IPERI1]=reflector("input peri bot", angle=0, center=cs, width=.025)
00522         optics[my.IPERI2]=reflector("input peri top", angle=0, center=cs+(0.0,-exit_height, 0), width=.025)
00523     
00524         optics[my.EXP1]=lens("expander diverge", f=-.15).place_between(cs+(-.1,0,0), optics[my.IPERI1], -0.09)
00525         optics[my.EXP2]=lens("expander re-coll", f=0.3).place_between(optics[my.IPERI2], (0,0,0), 0.037)    
00526         #optics[my.EXP2]=lens("expander re-coll", f=0.3).place_between(optics[my.IPERI2], (0,0,0), 0.0357)  
00527     
00528         optics[my.IPERI1].set_direction(optics[my.EXP1], optics[my.IPERI2])
00529         optics[my.IPERI2].set_direction(optics[my.IPERI1], optics[my.EXP2])
00530     
00531         optics[my.OPERI1]=reflector("output peri top", angle=0, center=(0,my.y_offset,exit_z), width=.025)
00532         optics[my.OPERI2]=reflector("output peri bot", angle=0, center=(0,exit_height,exit_z), width=.025)
00533 
00534         optics[my.TM1]=reflector("output turn 1", angle=90, center=(0.30, exit_height,exit_z), width=.025)
00535     
00536         optics[my.OPERI1].set_direction((0,my.y_offset,0), optics[my.OPERI2])
00537         optics[my.OPERI2].set_direction(optics[my.OPERI1], optics[my.TM1])
00538                 
00539         comp_order=(my.EXP1, my.IPERI1, my.IPERI2, my.EXP2, my.GRATE, 
00540                 my.IR2, my.IR1, my.GRATE, my.VR1, my.VR2, my.GRATE, my.IR1, my.IR2, 
00541                 my.GRATE, my.OPERI1, my.OPERI2, my.TM1)
00542                     
00543         composite_optic.init(self, "compressor", optics, comp_order, None, center=center, angle=angle, extras=extras )      
00544 
00545 
def doit_bc(theta1, clen, lambda0, drawit=0):


Generated on Wed Nov 21 10:18:33 2007 for analysis by  doxygen 1.5.4