From 1804900cbb93e064f296a3292004bf58c3d159c7 Mon Sep 17 00:00:00 2001 From: x03daop Date: Tue, 5 Apr 2016 14:47:11 +0200 Subject: [PATCH] Closedown --- script/PhotonEnergy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/PhotonEnergy.py b/script/PhotonEnergy.py index 7126c413..342623bd 100644 --- a/script/PhotonEnergy.py +++ b/script/PhotonEnergy.py @@ -19,12 +19,12 @@ set_adc_averaging() if len(VECTOR[0]) == 2: #FIXED writables = (Eph, Scienta.centerEnergy) - Scienta.centerEnergy.write(VECTOR[0][1]) #in order scaling of image based on first point + Scienta.centerEnergy.write(VECTOR[0][1]) #in order scaling of image based on first point else: #SWEPT writables = (Eph, Scienta.lowEnergy, Scienta.highEnergy) Scienta.lowEnergy.write(VECTOR[0][1]) - Scienta.highEnergy.write(VECTOR[0][2]) + Scienta.highEnergy.write(VECTOR[0][2]) set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1}) vscan(writables, SENSORS, VECTOR, True, LATENCY,False, before_read=trig_scienta, after_read = after_readout)