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
Leo Pound Singer
ligo-followup-advocate
Commits
49564bc1
Commit
49564bc1
authored
Feb 22, 2020
by
Brandon Piotrzkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include trials when checking whether gw in coincidence alert is significant on its own
parent
5012c1ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ligo/followup_advocate/__init__.py
ligo/followup_advocate/__init__.py
+4
-2
No files found.
ligo/followup_advocate/__init__.py
View file @
49564bc1
...
...
@@ -262,8 +262,10 @@ def compose_raven(gracedb_id, authors=(),
combined_skymap_greedy_area
=
greedy_area
)
kwargs
.
update
(
main_dict
(
gracedb_id
,
client
=
client
))
if
(
group
.
lower
()
==
'cbc'
and
superevent_far
<
1
/
(
60
*
86400
))
or
\
(
group
.
lower
()
==
'burst'
and
superevent_far
<
1
/
(
365
*
86400
)):
# Including trials of 5 for CBC and 4 for bursts due to number of pipelines
far_threshold
=
{
'cbc'
:
1
/
(
60
*
86400
),
'burst'
:
1
/
(
365
*
86400
)}
trials
=
{
'cbc'
:
5
,
'burst'
:
4
}
if
superevent_far
*
trials
[
group
.
lower
()]
<
far_threshold
[
group
.
lower
()]:
kwargs
.
update
(
change_significance_statement
=
False
)
else
:
kwargs
.
update
(
change_significance_statement
=
True
)
...
...
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