#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 : print 'Need at list ' + str(buffer) + 'ms of free evap before evaporation can be triggered' exit(1) s.wait(free) #uvdet change is included in evap so the lock has time to respond odtpow, uvdet, ENDEVAP = odt.odt_lightshift_evap(image) evap_ss = float(report['EVAP']['evapss']) s.analogwfm_add(evap_ss,[odtpow,uvdet])
#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) #At this point the time sequence is at ENDUVMOT s.wait(tof) #RELEASE FROM IR TRAP s.digichg('odtttl',0) odttof = float(report['ODT']['odttof']) s.wait(odttof) #~ braggtime=0.15 #~ waittime=1.0 #~ s.wait(-braggtime-waittime) #~ s.digichg('bragg',1) #~ s.wait(braggtime) #~ s.digichg('bragg',0)