dispersiveXanes/xppl37_theta_scan.py

11 lines
237 B
Python
Raw Normal View History

2016-11-25 11:05:19 +01:00
import xanes_analyzeRun
import sys
def doRun(run=56):
r = xanes_analyzeRun.AnalyzeRun(run,initAlign=56)
2016-12-01 11:17:34 +01:00
ret = r.analyzeScan(nImagesToFit=5)
2016-11-25 11:05:19 +01:00
r.save(overwrite=True)
run = 56
if len(sys.argv) > 1: run = int(sys.argv[1])
doRun(run)