Script execution
This commit is contained in:
@@ -15,8 +15,8 @@ import math
|
||||
|
||||
# move sample across beam
|
||||
ANGLE = -30.
|
||||
DISTANCE = 8.
|
||||
STEP = 0.1
|
||||
DISTANCE = 14.
|
||||
STEP = 0.05
|
||||
|
||||
|
||||
# move sample along beam
|
||||
@@ -24,7 +24,8 @@ STEP = 0.1
|
||||
#DISTANCE = 4.
|
||||
#STEP = 0.1
|
||||
|
||||
SENSORS = (Counts, AngleDistribution, EnergyDistribution, Scienta.dataMatrix, SampleCurrent, RefCurrent, MachineCurrent)
|
||||
SENSORS = (SampleCurrent, RefCurrent, MachineCurrent)
|
||||
#SENSORS = (Counts, AngleDistribution, EnergyDistribution, Scienta.dataMatrix, SampleCurrent, RefCurrent, MachineCurrent)
|
||||
ENDSCAN = False
|
||||
|
||||
# --- do not edit below ---
|
||||
@@ -41,13 +42,14 @@ adjust_sensors()
|
||||
set_adc_averaging()
|
||||
|
||||
# time per scienta acquisition in seconds
|
||||
time1 = time.time()
|
||||
trig_scienta()
|
||||
time2 = time.time()
|
||||
scienta_time = (time2 - time1)
|
||||
print "scienta time: ", scienta_time
|
||||
#time1 = time.time()
|
||||
#trig_scienta()
|
||||
#time2 = time.time()
|
||||
#scienta_time = (time2 - time1)
|
||||
#print "scienta time: ", scienta_time
|
||||
|
||||
# time for one scan in seconds
|
||||
scienta_time = 0.1
|
||||
SPEED = STEP / scienta_time
|
||||
print "speed: ", SPEED
|
||||
fly_time = DISTANCE / SPEED
|
||||
|
||||
Reference in New Issue
Block a user