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
186f4750
Commit
186f4750
authored
5 years ago
by
Chad Hanna
Browse files
Options
Downloads
Patches
Plain Diff
far.py: make extinction threshold explicit in event count so that it doesn't bounce around
parent
040b2bf0
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/far.py
+3
-3
3 additions, 3 deletions
gstlal-inspiral/python/far.py
with
3 additions
and
3 deletions
gstlal-inspiral/python/far.py
+
3
−
3
View file @
186f4750
...
...
@@ -718,9 +718,9 @@ WHERE
noise_counts
=
self
.
noise_lr_lnpdf
.
array
.
copy
()
# get the zerolag counts.
# we model the tail of the distribution - top 1% - where
# clustering only effects the result at a 1% level.
onepercent
=
zl_counts
.
cumsum
().
searchsorted
(
zl_counts
.
sum
()
*
0.99
)
# we model the tail of the distribution - top
0.1 -
1% - where
# clustering only effects the result at a
<
1% level.
onepercent
=
zl_counts
.
cumsum
().
searchsorted
(
zl_counts
.
sum
()
-
1000
)
# normalize the counts
noise_counts
/=
noise_counts
.
sum
()
...
...
This diff is collapsed.
Click to expand it.
Patrick Godwin
@patrick.godwin
mentioned in issue
#31 (closed)
·
5 years ago
mentioned in issue
#31 (closed)
mentioned in issue #31
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