Turn on YFE
- ssh mec-laser
- mecpython
- import meclas
- meclas.YFE.On()
Load the waveform recipe and shape the waveform
meclas.LPL.psmenu()
→ type in recipe number, for example,l56 == "U10ns00gradE100J"
meclas.LPL.psefc10Hz(numIterQ=150)
→ shape the 10Hz pulse as designed shape. Put the iteration number you desirenumIterQ = xx
Optimization
- meclas.LPL.SHG_opt() →SHG optimization
- meclas.HWP.HWP_opt()
TTL shutter
- meclas.TTL_shutter.Refresh() → manually open all shutters and refresh
- meclas.TTL_shutter.Status()
- meclas.TTL_shutter.Toggle('openall')
- meclas.TTL_shutter.Toggle('openABEF')
- meclas.TTL_shutter.Toggle('openWW') → close west
- meclas.TTL_shutter.Toggle('closeXX') → close east
Pulse Shaping (more detail)
What are these parameters: YSSs, SSs, and Psns?
- YSSs: start and stop heights of 10 Hz seed pulse
- SSs: start and stop heights of amplified pulse
- Psns: pulse duration in ns
- meclas.LPL._YSSs_get() → output: [ [ y1, y2 ] ];
- meclas.LPL._YSSs_set( [ [ y1, y2 ] ] )
- meclas.LPL._SSs_get() → output: [ [ s1, s2 ] ];
- meclas.LPL._YSSs_set( [ [ s1, s2 ] ] )
- meclas.LPL._Psns_get() → output: [8.25] ;
- meclas.LPL._Psns_set( 11.25 )
- meclas.LPL.psefc10Hz(numIterQ=150)
Other LPL commands
- meclas.LPL.pspreshot()
- meclas.LPL.pspostshot(save_flag=False, display=True)
- meclas.LPL.psrefrwvfm()
- meclas.LPL.pssavewvfm()
- meclas.LPL.psviewwvfm()
Meters
- meclas.EMeters.EGall()
How to remove the spike
- if you have a little spike in the entrance Automatically adjust the waveform: use Automatically adjust the entrance: LPL.psecf10Hz Lower the first 3 points by 0.97:
- LPL.psefc10Hz(CorrFactorFront=.97)
- LPL.psefc10Hz(pwt='curr',numIterQ=50,AQQ=0.03,displayPlot=True,reloopPrompt=True,YFEbkgrdY=-0.004,PtNumFront=3,PtNumBack=2,CorrFactorFront=0.97,CorrFactorBack=1,avgfwhm=9,avgrange=1)
- Manually adjust the waveform by altering the Highland settings directly:
- Highland = HAWG()
- current_wvfm = Highland.ReadPulseHeights()
- new_wvfm = current_wvfm[:]
- adjust new_wvfm points manually exactly however you'd like, e.g. new_wvfm[0] = 10000 or whatever
- To plot: ep.l(new_wvfm)
- Highland.WritePulseHeights(new_wvfm)