Script execution
This commit is contained in:
20
script/KeithleyVoltageScan.py
Normal file
20
script/KeithleyVoltageScan.py
Normal file
@@ -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()
|
||||
Reference in New Issue
Block a user