Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gstlal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Duncan Macleod
gstlal
Commits
7cb02364
Commit
7cb02364
authored
6 years ago
by
chad.hanna
Browse files
Options
Downloads
Patches
Plain Diff
Revert "inspiral_lr.py: update denominator dt dphi noise pdf"
This reverts commit
62952454
.
parent
5e527685
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/stats/inspiral_lr.py
+2
-9
2 additions, 9 deletions
gstlal-inspiral/python/stats/inspiral_lr.py
with
2 additions
and
9 deletions
gstlal-inspiral/python/stats/inspiral_lr.py
+
2
−
9
View file @
7cb02364
...
...
@@ -729,15 +729,8 @@ class LnNoiseDensity(LnLRDensity):
lnP
+=
self
.
coinc_rates
.
lnP_instruments
(
**
triggers_per_second_per_template
)[
frozenset
(
snrs
)]
# evaluate dt and dphi parameters
# NOTE: this assumes uniform in dt and dphi. The dt part is
# approximate and should be detector dependent and involve a
# slightly intracate calculation since coincidence must be
# mutual, but we igore that in this normalization and get it
# close enough.
# ( 1 / \Deta T ) ( 1 / \Delta \phi) for each detector
# hardcode \Delta T = 20 ms
#
lnP
+=
(
1.
/
0.020
*
1.
/
(
2.
*
numpy
.
pi
))
**
(
len
(
snrs
)
-
1
)
# NOTE: uniform and normalized so that the log should be zero, but there is no point in doing that
# lnP += 0
# evaluate the rest
interps
=
self
.
interps
...
...
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