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
6d7955a1
Commit
6d7955a1
authored
6 years ago
by
Duncan Meacher
Browse files
Options
Downloads
Patches
Plain Diff
revert:
a4257899
parent
6fa25728
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gstlal-inspiral/python/stats/inspiral_extrinsics.py
+1
-1
1 addition, 1 deletion
gstlal-inspiral/python/stats/inspiral_extrinsics.py
gstlal-inspiral/python/stats/inspiral_lr.py
+1
-1
1 addition, 1 deletion
gstlal-inspiral/python/stats/inspiral_lr.py
with
2 additions
and
2 deletions
gstlal-inspiral/python/stats/inspiral_extrinsics.py
+
1
−
1
View file @
6d7955a1
...
...
@@ -880,7 +880,7 @@ class NumeratorSNRCHIPDF(rate.BinnedLnPDF):
self
.
norm
.
shape
=
(
len
(
self
.
norm
),
1
)
@staticmethod
def
add_signal_model
(
lnpdf
,
n
,
prefactors_range
,
df
,
inv_snr_pow
=
4.
,
snr_min
=
3.5
,
progressbar
=
None
):
def
add_signal_model
(
lnpdf
,
n
,
prefactors_range
,
df
,
inv_snr_pow
=
4.
,
snr_min
=
4.
,
progressbar
=
None
):
if
df
<=
0.
:
raise
ValueError
(
"
require df >= 0: %s
"
%
repr
(
df
))
pfs
=
numpy
.
linspace
(
prefactors_range
[
0
],
prefactors_range
[
1
],
100
)
...
...
This diff is collapsed.
Click to expand it.
gstlal-inspiral/python/stats/inspiral_lr.py
+
1
−
1
View file @
6d7955a1
...
...
@@ -76,7 +76,7 @@ __all__ = [
class
LnLRDensity
(
snglcoinc
.
LnLRDensity
):
# range of SNRs covered by this object
snr_min
=
3.5
snr_min
=
4.
# SNR, \chi^2 binning definition
snr_chi_binning
=
rate
.
NDBins
((
rate
.
ATanLogarithmicBins
(
2.6
,
26.
,
300
),
rate
.
ATanLogarithmicBins
(.
001
,
0.2
,
280
)))
...
...
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