Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cs
util
sequencer
scan-p-gun-vgrid
Commits
5c6076dc
Commit
5c6076dc
authored
May 31, 2022
by
Francesco Tripaldi
Browse files
Y fixed scale
parent
7ad32c81
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ScanPGunVgrid.py
View file @
5c6076dc
...
...
@@ -132,6 +132,7 @@ def main():
if
publish_to_elog
==
True
:
plt
.
style
.
use
([
'seaborn-darkgrid'
])
if
plot_best_vgrid
==
True
:
plt
.
plot
(
best_vgrid
,
best_current
,
marker
=
"o"
,
markersize
=
15
,
markeredgecolor
=
"red"
,
markerfacecolor
=
"green"
)
plt
.
text
(
scan_start
+
((
scan_stop
-
scan_start
)
/
2
),
0.05
,
'Best Vgrid: '
+
f
'
{
best_vgrid
:.
2
f
}
'
+
'V'
,
fontsize
=
12
,
bbox
=
dict
(
facecolor
=
'red'
,
alpha
=
0.5
))
...
...
@@ -141,6 +142,10 @@ def main():
plt
.
title
(
str
(
graph_title
))
plt
.
xlabel
(
'GUN Vgrid (V)'
)
plt
.
ylabel
(
'Booster current (mA)'
)
if
topup_test_mode
==
True
:
ply
.
ylim
(
0
,
0.6
)
else
:
ply
.
ylim
(
0
,
1.6
)
plt
.
legend
(
loc
=
0
)
fig
=
plt
.
gcf
()
fig2elog
(
fig
,
elog_text
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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