Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iexcode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
29id
iexcode
Commits
18a4b4cc
Commit
18a4b4cc
authored
2 years ago
by
rodolakis
Browse files
Options
Downloads
Patches
Plain Diff
Motors scan2D
parent
35d0d911
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
build/lib/iexcode/instruments/Motors.py
+1
-0
1 addition, 0 deletions
build/lib/iexcode/instruments/Motors.py
iexcode/instruments/Motors.py
+10
-0
10 additions, 0 deletions
iexcode/instruments/Motors.py
iexcode/instruments/Octupole.py
+1
-1
1 addition, 1 deletion
iexcode/instruments/Octupole.py
with
12 additions
and
1 deletion
build/lib/iexcode/instruments/Motors.py
+
1
−
0
View file @
18a4b4cc
...
...
@@ -246,6 +246,7 @@ class Motors:
iex
.
BL
.
mda
.
fillin_2D
(
inner_loop_list
,
outer_loop_list
,
**
kwargs
)
if
kwargs
[
'
execute
'
]:
kwargs
.
update
({
'
scan_dim
'
:
kwargs
[
'
outer_scan_dim
'
]})
iex
.
BL
.
mda
.
go
(
**
kwargs
)
...
...
This diff is collapsed.
Click to expand it.
iexcode/instruments/Motors.py
+
10
−
0
View file @
18a4b4cc
...
...
@@ -246,6 +246,7 @@ class Motors:
iex
.
BL
.
mda
.
fillin_2D
(
inner_loop_list
,
outer_loop_list
,
**
kwargs
)
if
kwargs
[
'
execute
'
]:
kwargs
.
update
({
'
scan_dim
'
:
kwargs
[
'
outer_scan_dim
'
]})
iex
.
BL
.
mda
.
go
(
**
kwargs
)
...
...
@@ -425,6 +426,15 @@ def dscanphi(start,stop,step):
iex
.
BL
.
motors
.
scan
(
"
phi
"
,
start
,
stop
,
step
,
relative
=
True
)
def
scan_motors_2D
(
inner_loop_list
,
outer_loop_list
,
**
kwargs
):
"""
2D motor scans
usage:
scan_motors_2D([
"
x
"
,-5,5,.25],[
"
z
"
,141.5-5,141.5+5,.25])
"""
iex
.
BL
.
motors
.
scan_2D
(
inner_loop_list
,
outer_loop_list
,
**
kwargs
)
######## mprint and mvsample ###################
def
mprint
(
name
=
''
):
"""
...
...
This diff is collapsed.
Click to expand it.
iexcode/instruments/Octupole.py
+
1
−
1
View file @
18a4b4cc
...
...
@@ -90,7 +90,7 @@ def Octupole_init(*userName,**kwargs):
#resetting everything
if
kwargs
[
'
reset
'
]:
Octupole_reset
(
**
kwargs
)
Octupole_reset
()
print
(
'
Octupole initalized
'
)
#return any detectors or other parameters that you want access to from jupyter
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment