s.wait( trapdt) lstof = float(report['UVLS']['lstof']) s.digichg('odtttl',0) s.wait(lstof) #TAKE PICTURES light = 'probe' #light = 'motswitch' #light = 'bragg' trap_on_picture = 1 kinetics = gen.bstr('Kinetics',report) print '...kinetics = ' + str(kinetics) if kinetics == True: s,SERIESDT = andor.KineticSeries4(s,exp,light,noatoms, trap_on_picture) else: s,SERIESDT = andor.FKSeries2(s,stepsize,exp,light,noatoms, trap_on_picture) #After taking a picture sequence returns at time of the last probe strobe #Wait 30ms to get past the end s.wait(30.0) s=gen.shutdown(s) s.digichg('odtttl',0) s.digichg('odt7595',0) s.save('L:/software/apparatus3/seq/seqstxt/expseq.txt') s.clear_disk() print '...Compilation = %.2f seconds\n' % (time.time()-t0)
#~ s.wait(-fstatedt) #RELEASE FROM MOT s.digichg('motswitch', 0) s.digichg('motshutter', 1) s.digichg('field', 0) s.wait(tof) #TAKE PICTURES light = 'probe' trap_on_picture = 1 #light = 'motswitch' kinetics = gen.bstr('Kinetics', report) print '...kinetics = ' + str(kinetics) if kinetics == True: s, SERIESDT = andor.KineticSeries4(s, exp, light, noatoms, trap_on_picture) else: s, SERIESDT = andor.FKSeries2(s, stepsize, exp, light, noatoms, trap_on_picture) #After taking a picture sequence returns at time of the last probe strobe #Wait 30ms to get past the end s.wait(30.0) s = gen.shutdown(s) s.digichg('odtttl', 0) s.save('L:/software/apparatus3/seq/seqstxt/expseq.txt') s.clear_disk() print '...Compilation = %.2f seconds\n' % (time.time() - t0)