Commit a2fd0399 authored by Roberto Arturo Homs-Regojo's avatar Roberto Arturo Homs-Regojo
Browse files

- scatter / fix start/stop

parent 9c1c4b9c
......@@ -235,8 +235,8 @@ def akmap(
# In forth direction only
axis_kind="forth",
# The grid have to be specified
min=xmin,
max=xmax,
start=xmin,
stop=xmax,
axis_points=x_nb_points,
# Optionally the full number of points can be specified
points=x_nb_points * y_nb_points,
......@@ -246,8 +246,8 @@ def akmap(
#slow_mot.name,
axis_id=1,
axis_kind="forth",
min=ymin,
max=ymax,
start=ymin,
stop=ymax,
axis_points=y_nb_points,
points=x_nb_points * y_nb_points,
......@@ -541,6 +541,9 @@ def akmap_lut(
ymax = max(slow_motors_positions[1])
ymin = min(slow_motors_positions[1])
ystart = slow_motors_positions[1][0]
ystop = slow_motors_positions[1][-1]
scan_info = ScanInfo()
scan_info.update({
......@@ -562,8 +565,8 @@ def akmap_lut(
# In forth direction only
axis_kind="forth",
# The grid have to be specified
min=xmin,
max=xmax,
start=xmin,
stop=xmax,
axis_points=x_nb_points,
# Optionally the full number of points can be specified
points=x_nb_points * y_nb_points,
......@@ -572,8 +575,10 @@ def akmap_lut(
slow_mot_name,
axis_id=1,
axis_kind="forth",
min=ymin,
max=ymax,
#start=ymin,
#stop=ymax,
start=ystart,
stop=ystop,
axis_points=y_nb_points,
points=x_nb_points * y_nb_points,
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment