Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
gstlal
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lscsoft
gstlal
Commits
3fddfa47
Commit
3fddfa47
authored
Jul 09, 2019
by
gstlalcbc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FAR trials factor command line option
parent
371f44d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
gstlal-inspiral/python/lloidhandler.py
gstlal-inspiral/python/lloidhandler.py
+4
-3
No files found.
gstlal-inspiral/python/lloidhandler.py
View file @
3fddfa47
...
...
@@ -638,7 +638,7 @@ class Handler(simplehandler.Handler):
dumps of segment information, trigger files and background
distribution statistics.
"""
def
__init__
(
self
,
mainloop
,
pipeline
,
coincs_document
,
rankingstat
,
horizon_distance_func
,
gracedbwrapper
,
zerolag_rankingstatpdf_url
=
None
,
rankingstatpdf_url
=
None
,
ranking_stat_output_url
=
None
,
ranking_stat_input_url
=
None
,
likelihood_snapshot_interval
=
None
,
sngls_snr_threshold
=
None
,
tag
=
""
,
kafka_server
=
"10.14.0.112:9092"
,
cluster
=
False
,
cap_singles
=
False
,
verbose
=
False
):
def
__init__
(
self
,
mainloop
,
pipeline
,
coincs_document
,
rankingstat
,
horizon_distance_func
,
gracedbwrapper
,
zerolag_rankingstatpdf_url
=
None
,
rankingstatpdf_url
=
None
,
ranking_stat_output_url
=
None
,
ranking_stat_input_url
=
None
,
likelihood_snapshot_interval
=
None
,
sngls_snr_threshold
=
None
,
tag
=
""
,
kafka_server
=
"10.14.0.112:9092"
,
cluster
=
False
,
cap_singles
=
False
,
FAR_trialsfactor
=
1.0
,
verbose
=
False
):
"""!
@param mainloop The main application's event loop
@param pipeline The gstreamer pipeline that is being
...
...
@@ -664,6 +664,7 @@ class Handler(simplehandler.Handler):
self
.
likelihood_snapshot_timestamp
=
None
self
.
cluster
=
cluster
self
.
cap_singles
=
cap_singles
self
.
FAR_trialsfactor
=
FAR_trialsfactor
self
.
gracedbwrapper
=
gracedbwrapper
# FIXME: detangle this
...
...
@@ -1112,7 +1113,7 @@ class Handler(simplehandler.Handler):
if
not
self
.
stream_thinca
.
push
(
instrument
,
[
event
for
event
in
events
if
event
.
ifo
==
instrument
],
buf_timestamp
):
continue
flushed_sngls
=
self
.
stream_thinca
.
pull
(
self
.
rankingstat
,
fapfar
=
self
.
fapfar
,
zerolag_rankingstatpdf
=
self
.
zerolag_rankingstatpdf
,
coinc_sieve
=
self
.
rankingstat
.
fast_path_cut_from_triggers
,
cluster
=
self
.
cluster
,
cap_singles
=
self
.
cap_singles
)
flushed_sngls
=
self
.
stream_thinca
.
pull
(
self
.
rankingstat
,
fapfar
=
self
.
fapfar
,
zerolag_rankingstatpdf
=
self
.
zerolag_rankingstatpdf
,
coinc_sieve
=
self
.
rankingstat
.
fast_path_cut_from_triggers
,
cluster
=
self
.
cluster
,
cap_singles
=
self
.
cap_singles
,
FAR_trialsfactor
=
self
.
FAR_trialsfactor
)
self
.
coincs_document
.
commit
()
# do GraceDB alerts and update eye candy
...
...
@@ -1334,7 +1335,7 @@ class Handler(simplehandler.Handler):
# whatever triggers remain in the queues, and processes
# them
flushed_sngls
=
self
.
stream_thinca
.
pull
(
self
.
rankingstat
,
fapfar
=
self
.
fapfar
,
zerolag_rankingstatpdf
=
self
.
zerolag_rankingstatpdf
,
coinc_sieve
=
self
.
rankingstat
.
fast_path_cut_from_triggers
,
flush
=
True
,
cluster
=
self
.
cluster
,
cap_singles
=
self
.
cap_singles
)
flushed_sngls
=
self
.
stream_thinca
.
pull
(
self
.
rankingstat
,
fapfar
=
self
.
fapfar
,
zerolag_rankingstatpdf
=
self
.
zerolag_rankingstatpdf
,
coinc_sieve
=
self
.
rankingstat
.
fast_path_cut_from_triggers
,
flush
=
True
,
cluster
=
self
.
cluster
,
cap_singles
=
self
.
cap_singles
,
FAR_trialsfactor
=
self
.
FAR_trialsfactor
)
self
.
coincs_document
.
commit
()
# do GraceDB alerts
...
...
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