コード例 #1
0
s.digichg('greenttl2', 0)
s.digichg('greenttl3', 0)
s.digichg('irttl1', 0)
s.digichg('irttl2', 0)
s.digichg('irttl3', 0)

latticetof = float(report['LATTICE']['latticetof'])
s.wait(latticetof)

#Select fluorescence probe
probe = 'motswitch'
s = manta.OpenShuttersFluorMOT(s)

#Take fluorescence imaging shot with the MOT beams.
#PICTURE OF ATOMS
s = basler.BaslerPicture(s, preexp, texp, postexp, probe)
s.wait(noatoms)
#RELEASE FROM ODT
s.digichg('odtttl', 0)
s.digichg('odt7595', 0)
s.wait(50.0)
s.digichg('odtttl', 1)
s.digichg('odt7595', 1)
s.wait(20.0)
#PICTURE OF BACKGROUND
s = basler.BaslerPicture(s, preexp, texp, postexp, probe)
s.wait(noatoms)
#REFERENCE #1
s = basler.BaslerPicture(s, preexp, texp, postexp, probe)
s.wait(noatoms)
#REFERNCE #2
コード例 #2
0
imagetime = s.tcur

if 'andor' in cameras:
    new_seqcam = 'andor'
else:
    new_seqcam = 'none'
print "\n...SEQ:camera will be modified  in report"
print "\tNEW  SEQ:camera = %s\n" % new_seqcam
# SEQ:camera needs to be a list of strings.
gen.save_to_report('SEQ', 'camera', new_seqcam)

print "Current time before BASLER = ", s.tcur
#Take fluorescence imaging shot with the MOT beams.
#PICTURE OF ATOMS
s.tcur = imagetime
s = basler.BaslerPicture(s, preexp, texp, postexp, light)
#PICTURE OF BACKGROUND
s.wait(noatoms)
s.wait(noatoms)
s.wait(noatoms)
s = basler.BaslerPicture(s, preexp, texp, postexp, light)
print "Current time after BASLER = ", s.tcur

if 'andor' in cameras:
    s.tcur = imagetime
    print "Current time before Andor1 = ", s.tcur
    trap_on_picture = 1
    s, SERIESDT = andor.KineticSeries4(s,
                                       ANDOR.exp,
                                       light,
                                       noatoms,