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
f644d465
Commit
f644d465
authored
5 years ago
by
Chad Hanna
Browse files
Options
Downloads
Patches
Plain Diff
lloidhandler: store a chisq weighed SNR for use in a preclustering step
parent
0cbb7f9b
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
-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 @
f644d465
...
...
@@ -972,6 +972,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.
Chad Hanna
@chad-hanna
mentioned in commit
0c043c81
·
5 years ago
mentioned in commit
0c043c81
mentioned in commit 0c043c81ad160f56fa83130ba7392ed45ea6ebc4
Toggle commit list
Leo Tsukada
@leo.tsukada
mentioned in commit
0f1231ba
·
5 years ago
mentioned in commit
0f1231ba
mentioned in commit 0f1231ba58ddbdf2517987a0119c431f748a043d
Toggle commit list
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