From 24e3fed49ec751385d5a10b7787ca7bf2dd063b9 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Fri, 22 Oct 2021 18:00:47 +0200 Subject: [PATCH] Script execution --- script/KeithleyVoltageScan.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 script/KeithleyVoltageScan.py diff --git a/script/KeithleyVoltageScan.py b/script/KeithleyVoltageScan.py new file mode 100644 index 00000000..3f108dd3 --- /dev/null +++ b/script/KeithleyVoltageScan.py @@ -0,0 +1,20 @@ +""" +Keithley voltage scan + +""" + +POSITIONERS = (Keithley2Voltage) +SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution, Scienta.dataMatrix) +POSITIONS = (-15., 15.) +STEPS = 1. +LATENCY = 1.0 +RELATIVE = False + +adjust_sensors() +set_adc_averaging() +set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1}) +set_exec_pars(compression=True) + +lscan(POSITIONERS, SENSORS, POSITIONS[0], POSITIONS[1], STEPS, LATENCY, RELATIVE, before_read=before_readout, after_read = after_readout) + +# after_scan()