Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
lscsoft
GstLAL
Commits
a72419bf
Commit
a72419bf
authored
Jul 10, 2019
by
chad.hanna
Committed by
Patrick Godwin
Jul 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
streamthinca : fixed typo in implementation of trials factor
parent
bb57af88
Pipeline
#69839
passed with stages
in 35 minutes and 48 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
gstlal-inspiral/python/streamthinca.py
gstlal-inspiral/python/streamthinca.py
+3
-4
No files found.
gstlal-inspiral/python/streamthinca.py
View file @
a72419bf
...
@@ -333,10 +333,9 @@ class StreamThinca(object):
...
@@ -333,10 +333,9 @@ class StreamThinca(object):
if
fapfar
is
not
None
:
if
fapfar
is
not
None
:
# FIXME: add proper columns to
# FIXME: add proper columns to
# store these values in
# store these values in
coinc_inspiral
.
combined_far
=
fapfar
.
far_from_rank
(
coinc
.
likelihood
)
coinc_inspiral
.
combined_far
=
fapfar
.
far_from_rank
(
coinc
.
likelihood
)
*
FAR_trialsfactor
if
len
(
events
)
==
1
and
cap_singles
and
FAR_trialsfactor
and
coinc_inspiral
.
combined_far
<
1.
/
fapfar
.
livetime
:
if
len
(
events
)
==
1
and
cap_singles
and
coinc_inspiral
.
combined_far
<
1.
/
fapfar
.
livetime
:
coinc_inspiral
.
combined_far
=
1.
/
fapfar
.
livetime
coinc_inspiral
.
combined_far
=
1.
/
fapfar
.
livetime
coinc_inspiral
.
combined_far
=
FAR_trialsfactor
*
coinc_inspiral
.
combined_far
coinc_inspiral
.
false_alarm_rate
=
fapfar
.
fap_from_rank
(
coinc
.
likelihood
)
coinc_inspiral
.
false_alarm_rate
=
fapfar
.
fap_from_rank
(
coinc
.
likelihood
)
if
zerolag_rankingstatpdf
is
not
None
and
coinc
.
likelihood
is
not
None
:
if
zerolag_rankingstatpdf
is
not
None
and
coinc
.
likelihood
is
not
None
:
zerolag_rankingstatpdf
.
zero_lag_lr_lnpdf
.
count
[
coinc
.
likelihood
,]
+=
1
zerolag_rankingstatpdf
.
zero_lag_lr_lnpdf
.
count
[
coinc
.
likelihood
,]
+=
1
...
...
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