You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Python Login and Menus

Login

  • ssh psdev (if remote)
  • ssh mec-laser (if local)
  • mecpython
  • import meclas

Go to meclas level

  • %run /reg/g/pcds/pyps/apps/hutch-python/mec/mec/macros/meclas.py

meclas.YFE.

  • meclas.YFE.Get  
  • meclas.YFE.OnCheck
  • meclas.YFE.Trace  
  • meclas.YFE.Off    
  • meclas.YFE.Set                      
  • meclas.YFE.On    
  • meclas.YFE.SetAll 

meclas.LPL.

  • meclas.LPL.Off          
  • meclas.LPL.get_curr_run  
  • meclas.LPL.psmenu        
  • meclas.LPL.psrefrwvfm    
  • meclas.LPL.On            
  • meclas.LPL.get_curr_shape
  • meclas.LPL.pspostshot    
  • meclas.LPL.pssavewvfm    
  • meclas.LPL.SHG_opt                                               *Manual SHG Optimization        MEC Home > Laser > Laser (right side page)  > Others > NewportXPS_3(TimeTool)   
  • meclas.LPL.psefc10Hz      
  • meclas.LPL.pspreshot      
  • meclas.LPL.psviewwvfm    
  • meclas.LPL.get_curr_exp  
  • meclas.LPL.psloadwvfm    
  • meclas.LPL.psrecipes                               

meclas.EMeters.

  • meclas.EMeters.EG            
  • meclas.EMeters.EGall        
  • meclas.EMeters.LPLInChamber  
  • meclas.EMeters.EG1w2in        
  • mec...rs.E_coeff_refresh        
  • meclas.EMeters.SPLEG         
  • meclas.EMeters.EG1wYFE1in    
  • mec...rs.E_synth_refresh        
  • meclas.EMeters.gentec_refresh

meclas.TTL_shutter.

  • meclas.TTL_shutter_Status()                                tells you which TTL shutters are currently opened vs closed
  • meclas.TTL_shutter.Toggle('openall')                    opens all TTL shutters
  • meclas.TTL_shutter.Toggle('closeABEF')                closes AB and EF TTL shutters
  • meclas.TTL_shutter.Toggle('openWW')                 opens WEST TTL shutter
  • meclas.TTL_shutter.Toggle('closeXX')                    closes EAST TTL shutter
  • meclas.TTL_shutter_refresh()                                see text below
  • If you toggle the shutters using the button or the EPICS screen instead of Python, nothing is keeping track of the shutter state, so you will confuse the laser -- it will think it has one state when really it has another! As such, never touch the button or the GUI unless absolutely necessary!
  • If things get out of whack, you can always come to the hutch, visually verify that ALL SHUTTER ARE OPEN, and then type in the command: TTL_shutter_refresh() This will reset the counter/reference back to being all open.

meclas.LPL.ps

  • meclas.LPL.psefc10Hz  
  • meclas.LPL.pspostshot
  • meclas.LPL.pspostshot(save_flag=False, display=True)             does not save to instrument elog - postshot viewing while pulse shaping

  • meclas.LPL.psrefrwvfm
  • meclas.LPL.psloadwvfm
  • meclas.LPL.pspreshot  
  • meclas.LPL.pssavewvfm
  • meclas.LPL.psmenu    
  • meclas.LPL.psrecipes  
  • meclas.LPL.psviewwvfm

meclas.HWP.

  • meclas.HWP.ClearStart
  • meclas.HWP.On        
  • meclas.HWP.HWP_opt
  • meclas.HWP.Status   
  • meclas.HWP.On(‘all’)                                                          rotation to 0 degree for full transmission
  • HWPon(‘all’,set_T=0.5)                                                       turn half-wave plates to 0.5 of max transmission (50% or 90%, 20% you choose)        
  • Manual Waveplate Rotation                                               MEC Home > Laser > Laser > NS-LASER > Polarizer for AB,EF and also Newport XPS4 for IJ,GH                                                      
  • No labels