#####light = this is 'probe', 'motswitch' or 'bragg' #####camera = this is 'andor' or 'manta' if DL.light == 'bragg': s = manta.OpenShutterBragg(s, DL.shutterdelay) cameras = DL.camera #.split(",") # This is for backward comptibility for old syntax if "both" in cameras: cameras.remove("both") cameras.append("manta") cameras.append("andor") if "manta" in cameras: #PICTURE OF ATOMS s = manta.MantaPicture(s, MANTA.exp, DL.light, 1) s = andor.AndorKinetics(s, MANTA.exp, DL.light, 1, trigger='cameratrig') if "andor" in cameras else s s = andor.AndorKinetics( s, MANTA.exp, DL.light, 1, trigger='cameratrig2') if "andor2" in cameras else s s.wait(MANTA.noatoms) #RELEASE FROM ODT AND LATTICE s.wait(-70.0) s.digichg('quick2', 0) s.digichg('field', 0) s.digichg('odtttl', 0) s.digichg('odt7595', 0) s.digichg('ipgttl', 0) s.digichg('greenttl1', 0)
#TAKE PICTURES trap_on_picture = 0 light = 'probe' camera = 'manta' s = andor.OpenShuttersProbe(s) if light == 'bragg': s = manta.OpenShutterBragg(s) if camera == 'manta': texp = 0.006 noatoms = 200.0 #PICTURE OF ATOMS s = manta.MantaPicture(s, texp, light, 1) s.wait(noatoms) #print s.digital_chgs_str(500,100000.,['cameratrig','probe','odtttl','prshutter']) #After taking a picture sequence returns at time of the last probe strobe #Wait 50ms to get past the end s.wait(50.0) s = gen.shutdown(s) s.digichg('odtttl', 0) s.digichg('odt7595', 0) #print s.digital_chgs_str(500,100000., ['cameratrig','probe','odtttl','prshutter']) #print s.digital_chgs_str(0.,100000.) import seqconf
#####light = this is 'probe', 'motswitch' or 'bragg' #####camera = this is 'andor' or 'manta' if lbf.light == 'bragg': s = manta.OpenShutterBragg(s,lbf.shutterdelay) if lbf.camera == 'andor': kinetics = gen.bstr('Kinetics',report) print '...kinetics = ' + str(kinetics) if kinetics == True: s,SERIESDT = andor.KineticSeries4(s,Andor.exp, lbf.light,Andor.noatoms, trap_on_picture) else: s,SERIESDT = andor.FKSeries2(s,stepsize,Andor.exp, lbf.light,Andor.noatoms, trap_on_picture) elif lbf.camera == 'manta': #PICTURE OF ATOMS s=manta.MantaPicture(s, Manta.exp, lbf.light, 1) s.wait(Manta.noatoms) #RELEASE FROM ODT AND LATTICE odton_picture = 0 print "...ODTTTL for the picture = ", odton_picture latticeon_picture = 0 if lbf.latticeoff <= 0. else 1 s.digichg('quick2',0) s.digichg('odtttl',0) s.digichg('odt7595',0) s.digichg('ipgttl',0) s.digichg('greenttl1',0) s.digichg('greenttl2',0) s.digichg('greenttl3',0) s.digichg('irttl1',0) s.digichg('irttl2',0) s.digichg('irttl3',0)
s.wait(20.0) #LoadRamps refers to everything done up to loading the optical trap #Edit loadtrap.py to change any of this s, duration = uvmot.run(s, 'MANTA') #RELEASE FROM MOT s.digichg('motswitch', 0) s.digichg('uvshutter', 0) s.digichg('field', 0) s.wait(tof) #PICTURE OF ATOMS s = manta.MantaPicture(s, texp, probe, 1) s.wait(noatoms) #PICTURE OF BACKGROUND s = manta.MantaPicture(s, texp, probe, 1) s.wait(noatoms) #REFERENCE #1 s = manta.MantaPicture(s, texp, probe, 0) s.wait(noatoms) #REFERENCE #2 s = manta.MantaPicture(s, texp, probe, 0) s.wait(noatoms) s.wait(2.0) s = gen.shutdown(s) import seqconf s.save(seqconf.seqtxtout())