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
ba333239
Commit
ba333239
authored
2 years ago
by
rodolakis
Browse files
Options
Downloads
Patches
Plain Diff
added XMCD
parent
79733a37
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iexcode/instruments/Octupole.py
+19
-7
19 additions, 7 deletions
iexcode/instruments/Octupole.py
with
19 additions
and
7 deletions
iexcode/instruments/Octupole.py
+
19
−
7
View file @
ba333239
...
@@ -77,11 +77,11 @@ def Octupole_init(*userName,**kwargs):
...
@@ -77,11 +77,11 @@ def Octupole_init(*userName,**kwargs):
else
:
else
:
user_name
=
iex
.
BL
.
mda
.
user_name
()
user_name
=
iex
.
BL
.
mda
.
user_name
()
print
(
'
else statement:
'
,
user_name
)
#update for default scanRecord advanced parameters
#update for default scanRecord advanced parameters
iex
.
BL
.
mda
.
log
(
'
Octupole
'
,
user_name
,
_Octupole_log_dictionary
)
iex
.
BL
.
mda
.
log
=
Logfile
(
'
Octupole
'
,
user_name
,
_Octupole_log_dictionary
)
#global detectors
#global detectors
mesh
=
SRS
(
"
29ide:scaler1.S2
"
,
'
29idd:A4
'
)
mesh
=
SRS
(
"
29ide:scaler1.S2
"
,
'
29idd:A4
'
)
...
@@ -155,16 +155,28 @@ def _Octupole_detector_dictionary(**kwargs):
...
@@ -155,16 +155,28 @@ def _Octupole_detector_dictionary(**kwargs):
41
:
"
29ide:scaler1.S8
"
,
41
:
"
29ide:scaler1.S8
"
,
}
}
xmcd_raw
=
{
xmcd_raw
=
{
51
:
"
29ide:m11.RBV
"
,
51
:
"
29ide:4step:sig1:A
"
,
52
:
"
29ide:m12.RBV
"
,
52
:
"
29ide:4step:sig2:A
"
,
53
:
"
29ide:m13.RBV
"
,
53
:
"
29ide:4step:sig3:A
"
,
54
:
"
29ide:m14.RBV
"
,
54
:
"
29ide:4step:sig4:A
"
,
55
:
"
29ide:m15.RBV
"
,
55
:
"
29ide:4step:sig1:B
"
,
56
:
"
29ide:4step:sig2:B
"
,
57
:
"
29ide:4step:sig3:B
"
,
58
:
"
29ide:4step:sig4:B
"
,
}
xmcd_norm
=
{
61
:
"
29ide:userTran3.I
"
,
62
:
"
29ide:userTran3.J
"
,
63
:
"
29ide:userTran3.K
"
,
64
:
"
29ide:userTran3.L
"
,
65
:
"
29ide:userTran3.M
"
,
66
:
"
29ide:userTran3.N
"
,
}
}
#hkl are listed just a place holders, they are filled in by thier scanning functions
#hkl are listed just a place holders, they are filled in by thier scanning functions
det_dict
.
update
(
sample_temp
)
det_dict
.
update
(
sample_temp
)
det_dict
.
update
(
scalers
)
det_dict
.
update
(
scalers
)
det_dict
.
update
(
xmcd_raw
)
det_dict
.
update
(
xmcd_raw
)
det_dict
.
update
(
xmcd_norm
)
if
kwargs
[
'
add_vortex
'
]:
if
kwargs
[
'
add_vortex
'
]:
det_dict
.
update
(
vortex
)
det_dict
.
update
(
vortex
)
...
...
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