Skip to content
GitLab
Menu
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
a1ab2e80
Commit
a1ab2e80
authored
Mar 29, 2022
by
bliss administrator
Browse files
add xname in fscan title to ease PyMca use (x selection)
parent
6233ecb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
id26/scripts/fscan.py
View file @
a1ab2e80
...
...
@@ -143,8 +143,10 @@ def fscan(
print
(
'after aqcuisition chain definition.'
)
print
(
f
"@
{
time
.
time
()
-
time0
:
.
3
f
}
s"
)
xname
=
'hdh_energy'
scan_info_dict
=
{
"title"
:
f
"fscan
{
energy_start
}
{
energy_end
}
{
duration
}
{
energy_step
}
"
,
"title"
:
f
"fscan
{
xname
}
{
energy_start
}
{
energy_end
}
{
duration
}
{
energy_step
}
"
,
"start"
:
energy_start
,
"stop"
:
energy_end
,
"npoints"
:
nbpoints
,
...
...
@@ -152,11 +154,9 @@ def fscan(
"count_time"
:
exp_time
,
}
scan_info
=
ScanInfo
()
scan_info
.
update
(
scan_info_dict
)
xname
=
'hdh_energy'
scan_info
.
add_curve_plot
(
x
=
xname
)
scan_info
.
set_channel_meta
(
...
...
Write
Preview
Supports
Markdown
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