Files
x03da/script/PhotonEnergy.py
2015-07-21 15:15:40 +02:00

19 lines
416 B
Python

"""
Arguments:
VECTOR (Double[][], Scan verctor: 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)