diff --git a/script/PhotonEnergy.py b/script/PhotonEnergy.py index 5e817a0c..067d8c64 100644 --- a/script/PhotonEnergy.py +++ b/script/PhotonEnergy.py @@ -7,7 +7,7 @@ LATENCY (double) """ adjust_sensors() -set_averaging() +set_adc_averaging() #set_preference(Preference.PLOT_TYPES,{'ImageEnergyDistribution':1}) if len(VECTOR[0]) == 2: diff --git a/script/XPSSpectrum.py b/script/XPSSpectrum.py index a6f39ffd..ee86af7a 100644 --- a/script/XPSSpectrum.py +++ b/script/XPSSpectrum.py @@ -34,7 +34,7 @@ try: Scienta.stepSize.write(vars[1]) Scienta.setIterations(1) - set_averaging() + set_adc_averaging() #iterations done in script xdata = None