if DL.probekill ==1: if (-DL.probekilltime) > DL.image: analoghfimg = [wfm.wave('analogimg', DL.probekill_hfimg, EVAP.evapss)] elif DL.braggkill == 1: if (-DL.braggkilltime) > DL.image: print "...braggkill will be inserted in DIMPLE part of sequence" hfimgwfm = wfm.wave('analogimg', DL.braggkill_hfimg, EVAP.evapss) analoghfimg = [hfimgwfm] # Evaporate into the dimple s, cpowend = odt.crossbeam_dimple_evap(s, toENDBFIELD,analoghfimg) # Ramp up the lattice s, noatomswfms, lockwfms, bgdictPRETOF = lattice.dimple_to_lattice(s,cpowend) ######################################### ## PICTURES ## For the background pictures one needs to consider what is the noatoms time ######################################### #INDICATE WHICH CHANNELS ARE TO BE CONSIDERED FOR THE BACKGROUND
s, toENDBFIELD = highfield_uvmot.go_to_highfield(s) analoghfimg = [] # THis section used to resolve the issue we have probe or bragg kill in dimple section if DL.probekill == 1: if (-DL.probekilltime) > DL.image: analoghfimg = [wfm.wave('analogimg', DL.probekill_hfimg, EVAP.evapss)] elif DL.braggkill == 1: if (-DL.braggkilltime) > DL.image: print "...braggkill will be inserted in DIMPLE part of sequence" hfimgwfm = wfm.wave('analogimg', DL.braggkill_hfimg, EVAP.evapss) analoghfimg = [hfimgwfm] # Evaporate into the dimple s, cpowend = odt.crossbeam_dimple_evap(s, toENDBFIELD, analoghfimg) # Ramp up the lattice s = lattice.dimple_to_lattice(s, cpowend) ######################################### ## OTHER TTL EVENTS: probekill, braggkill, rf, quick2 ######################################### # Braggkill if DL.braggkill == 1: print "Using Bragg Kill" s.wait(DL.braggkilltime) s = manta.OpenShutterBragg(s, DL.shutterdelay) s.digichg('bragg', 1) s.wait(DL.braggkilldt) s.digichg('brshutter', 1) # to close shutter
if ANDOR.analoghfimg == 1: s.digichg('analogimgttl',1) if EVAP.andor2 == 1: print "\n...SEQ:camera will be modified in report" print "\tNEW SEQ:camera = andor,andor2\n" gen.save_to_report('SEQ','camera', 'andor,andor2') # Do CNC, UVMOT, and field ramps s, toENDBFIELD = highfield_uvmot.go_to_highfield(s) # Evaporate into the dimple s, cpowend = odt.crossbeam_dimple_evap(s, toENDBFIELD) buffer = 20. s.wait(buffer) # Go to scattering length zero-crossing fieldF = EVAP.fieldrampfinal if DIMPLE.image > EVAP.fieldrampt0 else FB.bias bfield = wfm.wave('bfield', fieldF, DIMPLE.analogss) if DIMPLE.zct0 > buffer: bfield.appendhold( DIMPLE.zct0 - buffer) bfield.linear(ZC.zcbias, ZC.zcrampdt)
s.digichg('hfimg', 1) #If using analoghfimg get it ready if ANDOR.analoghfimg == 1: s.digichg('analogimgttl', 1) if EVAP.andor2 == 1: print "\n...SEQ:camera will be modified in report" print "\tNEW SEQ:camera = andor,andor2\n" gen.save_to_report('SEQ', 'camera', 'andor,andor2') # Do CNC, UVMOT, and field ramps s, toENDBFIELD = highfield_uvmot.go_to_highfield(s) # Evaporate into the dimple s, cpowend = odt.crossbeam_dimple_evap(s, toENDBFIELD) zcbuffer = 40. s.wait(zcbuffer) # Go to scattering length zero-crossing if DIMPLE.Bramp == 1: fieldF = DIMPLE.B else: fieldF = EVAP.fieldrampfinal if DIMPLE.image > EVAP.fieldrampt0 else FB.bias bfield = wfm.wave('bfield', fieldF, DIMPLE.analogss) #if DIMPLE.zct0 > zcbuffer: # bfield.appendhold( DIMPLE.zct0 - zcbuffer) bfield.linear(ZC.zcbias, ZC.zcrampdt) bfield.appendhold(ZC.zcdt)