Files
x03da/script/PhotonEnergy.py
2015-11-02 12:07:36 +01:00

19 lines
415 B
Python

"""
Arguments:
VECTOR (Double[][], Scan vector: Eph,Elow,Ehigh or Eph,Ecenter)
SENSORS (list)
LATENCY (double)
"""
set_preference(Preference.PLOT_TYPES,{'Integration':1});
if len(VECTOR[0]) == 2:
#FIXED
writables = (Eph, Scienta.centerEnergy)
else:
#SWEPT
writables = (Eph, Scienta.lowEnergy, Scienta.highEnergy)
vscan(writables, SENSORS, VECTOR, True, LATENCY,False, before_read=trig_scienta)