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
710c59ac
Commit
710c59ac
authored
Nov 02, 2021
by
bliss administrator
Browse files
bug fix in det_dt_calib - det_max_counts is per seconds value
parent
0d054506
Changes
1
Hide whitespace changes
Inline
Side-by-side
id26/controllers/calccnt_dt_correction.py
View file @
710c59ac
...
...
@@ -112,9 +112,9 @@ class DeadTimeCorrectionCalcCounterController(CalcCounterController):
det_dat
=
scan_d
[
det_raw
.
name
]
mon_dat
=
scan_d
[
self
.
mon
.
name
]
time_dat
=
scan_d
[
timer
.
name
]
time_dat
=
scan_d
[
timer
.
name
]
if
(
det_dat
>
self
.
det_max_counts
).
any
():
if
(
det_dat
>
self
.
det_max_counts
*
itime
).
any
():
print
(
"| DET. DEAD TIME CORRECTION -- WARNING -- SATURATION. |"
)
print
(
"| Please try to change the energy of the spectrometer |"
)
return
...
...
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