evap = gen.getsection('EVAP')
zc   = gen.getsection('ZEROCROSS')
Andor= gen.getsection('ANDOR')
Manta= gen.getsection('MANTA')


#SEQUENCE
stepsize = float(report['SEQ']['stepsize'])
s=seq.sequence(stepsize)
s=gen.initial(s)
s.digichg('hfimg',1)
s.digichg('odt7595',0)


# Do CNC, UVMOT, and field ramps
s, toENDBFIELD = highfield_uvmot.go_to_highfield(s)

# Evaporate in cross beam trap
if evap.lattice == 1:
    s, cpowend = odt.crossbeam_evap_field_into_lattice(s, toENDBFIELD)
    ir_p0 = evap.irpow
    gr_p0 = evap.grpow
else:
    s, cpowend = odt.crossbeam_evap_field(s, toENDBFIELD)
    ir_p0 =0.
    gr_p0 =0.




#########################################
示例#2
0
#PARAMETERS
stepsize = float(report['SEQ']['stepsize'])
tof = float(report['ANDOR']['tof'])
exp = float(report['ANDOR']['exp'])
noatoms = float(report['ANDOR']['noatoms'])

#SEQUENCE
s = seq.sequence(stepsize)
s = gen.initial(s)

s.digichg('hfimg', 1)
s.digichg('odt7595', 0)

#Do CNC, UVMOT, and field ramps
s, toENDBFIELD = highfield_uvmot.go_to_highfield(s)

# Add evaporation ramp to ODT
free = float(report['EVAP']['free'])
image = float(report['EVAP']['image'])
buffer = 10.0  #Time needed to re-latch the trigger for the AOUTS
if free < buffer + toENDBFIELD:
    print 'Need at list ' + str(
        buffer) + 'ms of free evap before evaporation can be triggered'
    print 'Currently ramps end at %f , and free is %f' % (toENDBFIELD, free)
    exit(1)
s.wait(free)
odtpow, ENDEVAP, cpowend, ipganalog = odt.odt_evap(image)
evap_ss = float(report['EVAP']['evapss'])
s.analogwfm_add(evap_ss, [odtpow])
# ENDEVAP should be equal to image