コード例 #1
0
import math
import seq, wfm, gen, cnc, highfield_uvred, odt, andor

global report

report=gen.getreport()

#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_uvred.go_to_highfield(s)


# Add evaporation ramp to ODT
free = float(report['EVAP']['free'])
image= float(report['UVLS']['evapdt'])
buffer=10.0 #Time needed to re-latch the trigger for the AOUTS
if free < buffer + toENDBFIELD :
コード例 #2
0
 
import seq, wfm, gen, cnc, odt, andor, highfield_uvmot
report=gen.getreport()


#---GET SECTION CONTENTS
SEQ   = gen.getsection('SEQ')
EVAP  = gen.getsection('EVAP')
ANDOR = gen.getsection('ANDOR')
ODT   = gen.getsection('ODT')
FB    = gen.getsection('FESHBACH')
ZC    = gen.getsection('ZEROCROSS')
LI     = gen.getsection('LATTICEINT')

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

#Get hfimg ready
s.digichg('hfimg',1)

#If using analoghfimg get it ready
if ANDOR.analoghfimg == 1:
	s.digichg('analogimgttl',1)


s.digichg('odt7595',0)


# Do CNC, UVMOT, and field ramps
s, toENDBFIELD = highfield_uvmot.go_to_highfield(s)
コード例 #3
0
sys.path.append('L:/software/apparatus3/seq/utilspy')
sys.path.append('L:/software/apparatus3/seq/seqspy')
sys.path.append('L:/software/apparatus3/convert')
import seq, wfm, gen, cnc, andor

report = gen.getreport()

#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)

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

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

#Insert ODT overlap
overlapdt = float(report['ODT']['overlapdt'])
s.wait(-overlapdt)
s.digichg('odtttl', 1)
コード例 #4
0
SEQ = gen.getsection('SEQ')
EVAP  = gen.getsection('EVAP')
ANDOR = gen.getsection('ANDOR')
ODT = gen.getsection('ODT')
FESHBACH = gen.getsection('FESHBACH')
ZEROCROSS = gen.getsection('ZEROCROSS')
RF = gen.getsection('RF')

if EVAP.andor2 == 1:
	print "\n...SEQ:camera will be modified  in report"
	print "\tNEW  SEQ:camera = andor,andor2\n" 
	gen.save_to_report('SEQ','camera', 'andor,andor2') 


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

#Get hfimg ready
s.digichg('hfimg',1)

#If using analoghfimg get it ready
if ANDOR.analoghfimg == 1:
	s.digichg('analogimgttl',1)


####REMOVAL PENDING
#This is T-eed and used to enable/disable the ODT servo
s.digichg('odt7595',0)