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
BCU-Vercors
ID26
id26
Commits
6c1a9e78
Commit
6c1a9e78
authored
Sep 16, 2021
by
bliss administrator
Browse files
id26moco phase, tau and slope new values
parent
fa42a555
Pipeline
#54667
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
id26/controllers/id26moco.py
View file @
6c1a9e78
...
...
@@ -20,8 +20,8 @@ class id26moco(Moco):
self
.
outbeam
(
"VOLT"
,
"NORM"
,
"UNIP"
,
10
,
"NOAUTO"
,
silent
=
True
)
self
.
slope
=
1
self
.
phase
=
1
5
0
self
.
tau
=
0.
1
self
.
phase
=
10
0
# PG 25/08/2021
self
.
tau
=
1
print
(
"MoCo box outbeam set to voltage."
)
print
(
f
"Slope set to
{
self
.
slope
}
and phase
{
self
.
phase
}
. You may check this using moco_scan(phase)."
)
...
...
@@ -55,7 +55,8 @@ class id26moco(Moco):
print
(
"Error in moco_set, _aux ==0 moco_slope not properly calculated"
)
return
else
:
moco_slope
=
(
self
.
moco_max
/
_aux
)
/
10
# moco_slope = (self.moco_max/ _aux) /10
moco_slope
=
-
(
self
.
moco_max
/
_aux
)
/
5
# PG 25/08/2021
self
.
slope
=
moco_slope
print
(
f
"Moco slope set to
{
moco_slope
}
.
\n
"
)
...
...
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