Script execution

This commit is contained in:
gac-x03da
2023-08-15 10:05:55 +02:00
parent 64e18284d5
commit a63e1f3119
+4 -2
View File
@@ -351,7 +351,8 @@ def is_scienta_sampling():
if dev in SENSORS:
sample_scienta = True
break
for dev in [Scienta.spectrum,EnergyDistribution, AngleDistribution, Scienta.dataMatrix, Counts]:
for dev in [ #"Scienta.spectrum," ,
EnergyDistribution, AngleDistribution, Scienta.dataMatrix, Counts]:
if dev in SENSORS:
sample_scienta = True
break
@@ -415,7 +416,8 @@ def adjust_sensors():
if SENSORS is not None:
# Move integration to end
#sample_scienta = False
for dev in ["Scienta.spectrum","EnergyDistribution", "AngleDistribution", "Scienta.dataMatrix"]:
for dev in [ # "Scienta.spectrum",
"EnergyDistribution", "AngleDistribution", "Scienta.dataMatrix"]:
if dev in SENSORS:
#sample_scienta = True
SENSORS=SENSORS+[SENSORS.pop(SENSORS.index(dev))]