Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GstLAL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lscsoft
GstLAL
Commits
3fddfa47
Commit
3fddfa47
authored
5 years ago
by
gstlalcbc
Browse files
Options
Downloads
Patches
Plain Diff
FAR trials factor command line option
parent
371f44d5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gstlal-inspiral/python/lloidhandler.py
+4
-3
4 additions, 3 deletions
gstlal-inspiral/python/lloidhandler.py
with
4 additions
and
3 deletions
gstlal-inspiral/python/lloidhandler.py
+
4
−
3
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment