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

#Keep ODT on
ODT = gen.bstr('ODT',report)
if ODT == True:
    s.digichg('odtttl',1)
s.wait(20.0)

#LOAD ODT
s, duration=cnc.run(s,'ANDOR')

#RELEASE
s=gen.releaseMOT(s)

#UV LIGHT SHIFT PARAMETERS
intrapdt = float(report['UVLIGHTSHIFT']['intrapdt'])
pulse = float(report['UVLIGHTSHIFT']['pulse'])
postdt = float(report['UVLIGHTSHIFT']['postdt'])

s.wait(intrapdt)
s.digichg('uvaom1',1)
s.wait(pulse)
s.digichg('uvaom1',0)
s.wait(postdt) 


#OPEN SHUTTERS
s=andor.OpenShuttersFluor(s)
Exemplo n.º 2
0
exp = float(params['ANDOR']['exp'])
kexp = float(params['ANDOR']['kexp'])

#SEQUENCE
s = seq.sequence(stepsize)
# set initial values for TTL lines
s = gen.initial(s)
s.digichg('iraom1', 0)
s.digichg('iraom2', 0)
s.digichg('iraom3', 0)
s.wait(10.0)

s = cnc.doCNC(s, aos, params, 'ANDOR')

#Release MOT
s = gen.releaseMOT(s)
s.wait(tof)

#Here t=0, the time where the atoms shot is taken
s = andor.OpenShuttersFluor(s)

#Delay between shots is limited by the camera exposure (kexp) and the number of rows being shifted
shotdelay = float(params['ANDOR']['kexp']) / 1000. + float(
    params['ANDOR']['rows']) * 0.5 / 1000. + 100. / 1000.

###Clear CCD trigger
###s.wait(-2.0*shotdelay)
###s=andor.AndorPictureExternal(s,kexp,0.0,'motswitch')
###s.wait(shotdelay)

###First junk shot