Files
sf-op/script/Photonics/KValueScanGas.py
root 1bcb32c8f2
2018-03-06 08:21:09 +01:00

16 lines
349 B
Python

GAP = "SARUN14-UIND030"
SAMPLES = 20
TOLERANCE = 0.01
TIMEOUT = 10.0
intensity = Channel("SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-US", alias = "gas det")
gap = Channel(GAP + ":K_SET", alias = "gap")
#readout = Channel(GAP + ":GAP")
av = create_averager(intensity, SAMPLES, name = None)
ret = lscan (gap, av, 1.195, 1.205, 10, latency=20.0)