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
0f1231ba
Commit
0f1231ba
authored
5 years ago
by
Chad Hanna
Committed by
Leo Tsukada
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
lloidhandler: store a chisq weighed SNR for use in a preclustering step
(cherry picked from commit
f644d465
)
parent
bf4488cd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gstlal-inspiral/python/lloidhandler.py
+4
-0
4 additions, 0 deletions
gstlal-inspiral/python/lloidhandler.py
with
4 additions
and
0 deletions
gstlal-inspiral/python/lloidhandler.py
+
4
−
0
View file @
0f1231ba
...
...
@@ -977,6 +977,10 @@ class Handler(simplehandler.Handler):
# FIXME: ugly way to get the instrument
instruments
=
set
([
event
.
ifo
for
event
in
events
])
# FIXME calculate a chisq weighted SNR and store it in the bank_chisq column
for
event
in
events
:
event
.
bank_chisq
=
event
.
snr
/
((
1
+
max
(
1.
,
event
.
chisq
)
**
3
)
/
2.0
)
**
(
1.
/
5.
)
# extract segment. move the segment's upper
# boundary to include all triggers. ARGH the 1 ns
# offset is needed for the respective trigger to be
...
...
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