19 lines
416 B
Python
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)
|