def angles (   self,
  theta,
  lam 
)

Definition at line 1214 of file general_optics.py.

01214                                     :
01215                 #return angle info for incoming and outgoing angles in degrees (for user convenience)
01216                 if theta<0:
01217                         sgn=-1
01218                 else:
01219                         sgn=1
01220                 gratparm=self.order*lam*self.pitch*sgn
01221                 littrow=asin(gratparm/2.0)
01222                 phi=(((theta + math.pi/2.0) % math.pi ) - math.pi/2.0) #always wrap to front of grating!
01223                 beta0=asin(gratparm-sin(phi))
01224                 self.parafocus_scale=math.cos(phi)/math.cos(beta0) #angular magnification along x
01225                 #print "grating angles: ", lam, theta/deg, littrow/deg, beta0/deg
01226                 return (littrow, beta0)
01227                 
        def __str__(self):


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