import seqconf for p in seqconf.import_paths(): print "...adding path " + p sys.path.append(p) import time t0=time.time() print "\n----- uv_lightshift.py -----" 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)
__author__ = "Pedro M Duarte" import time t0 = time.time() print "\n----- odt_load_mot.py -----" import sys, math 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)