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
bglist = ['odtttl','irttl1','irttl2','irttl3','greenttl1','greenttl2','greenttl3']
bgdict={}
for ch in bglist:
    bgdict[ch] = s.digistatus(ch)
Esempio n. 2
0
# 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
    s.digichg('bragg', 0)

    s.wait(-DL.braggkilldt)
if DL.probekill ==1:
    if (-DL.probekilltime) > DL.image:
        analoghfimg = [wfm.wave('analogimg', DL.probekill_hfimg, DL.ss)]
elif DL.braggkill == 1:
    if (-DL.braggkilltime) > DL.image:
        analoghfimg = [wfm.wave('analogimg', DL.braggkill_hfimg, DL.ss)]

    
    
    
# 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
	s.digichg('bragg',0)
	
# 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, lastIR = 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
    s.digichg('bragg', 0)

    s.wait(-DL.braggkilldt)
Esempio n. 5
0
# 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, noatomswfms, lockwfms, bgdictPRETOF, wfms = lattice.dimple_to_lattice(
    s, cpowend)

if RT.enable == 1:
    s, noatomswfms, bgdictPRETOF = roundtrip.do_roundtrip(s, wfms)
#

#########################################
## PICTURES
## For the background pictures one needs to consider what is the noatoms time
#########################################

#INDICATE WHICH CHANNELS ARE TO BE CONSIDERED FOR THE BACKGROUND
bglist = [
    'odtttl', 'irttl1', 'irttl2', 'irttl3', 'greenttl1', 'greenttl2',
    'greenttl3'
]
    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, lastIR = 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
    s.digichg("bragg", 0)