Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ID01
id01
Commits
a2fd0399
Commit
a2fd0399
authored
Jan 22, 2021
by
Roberto Arturo Homs-Regojo
Browse files
- scatter / fix start/stop
parent
9c1c4b9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
id01/scripts/kmap.py
View file @
a2fd0399
...
...
@@ -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
,
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment