Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
ec0a13fb
Commit
ec0a13fb
authored
Aug 26, 2021
by
Yuanpeng Zhang
Committed by
Peterson, Peter
Aug 27, 2021
Browse files
fix little type
parent
7388fe3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/Calibration/tofpd/group_calibration.py
View file @
ec0a13fb
...
...
@@ -313,7 +313,7 @@ def pdcalibration_groups(data_ws,
if
mtd
[
f
'
{
output_basename
}
_pd_diffcal_mask'
].
readY
(
i
)[
0
]
==
0.0
:
diff_difc
=
abs
(
difc_bak
-
difc_calib
)
/
difc_calib
*
100.0
else
:
diff_difc
=
n
umpy
.
inf
diff_difc
=
n
p
.
inf
if
diff_difc
>=
BadCalibThreshold
:
difc_calib
=
difc_bak
new_row
=
{
'detid'
:
mtd
[
f
'
{
output_basename
}
_cc_pd_diffcal_tmp'
].
row
(
i
)[
'detid'
],
...
...
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