Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lscsoft
lalsuite
Commits
e69680a3
Commit
e69680a3
authored
Feb 05, 2017
by
Kipp Cannon
Browse files
lalapps_string_final: fix syntax error
Original: c384cf90107e212e637c75d0cf0c93a4f352934f
parent
d78f8183
Changes
1
Hide whitespace changes
Inline
Side-by-side
lalapps/src/string/lalapps_string_final.py
View file @
e69680a3
...
...
@@ -643,7 +643,7 @@ FROM
# regularize: adjust unused bins so that the efficiency is
# 0, not NaN
assert
(
efficiency_num
<=
efficiency_den
).
all
()
efficiency_den
[
efficiency_num
==
0
&
&
efficiency_den
==
0
]
=
1
efficiency_den
[
efficiency_num
==
0
&
efficiency_den
==
0
]
=
1
line1
,
A50
,
A50_err
=
render_data_from_bins
(
file
(
"string_efficiency.dat"
,
"w"
),
axes
,
efficiency_num
,
efficiency_den
,
self
.
cal_uncertainty
,
self
.
filter_width
,
colour
=
"k"
,
linestyle
=
"-"
,
erroralpha
=
0.2
)
print
>>
sys
.
stderr
,
"Pipeline's 50%% efficiency point for all detections = %g +/- %g%%
\n
"
%
(
A50
,
A50_err
*
100
)
...
...
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