Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
lscsoft
gstlal
Commits
2386bdfb
Commit
2386bdfb
authored
Aug 09, 2019
by
Chad Hanna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inspiral_lr: further tuning of numerator snr chisq
parent
944ead95
Pipeline
#74378
failed with stages
in 1 minute and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gstlal-inspiral/python/stats/inspiral_lr.py
gstlal-inspiral/python/stats/inspiral_lr.py
+2
-2
No files found.
gstlal-inspiral/python/stats/inspiral_lr.py
View file @
2386bdfb
...
...
@@ -423,10 +423,10 @@ class LnSignalDensity(LnLRDensity):
vtdict
=
self
.
horizon_history
.
functional_integral_dict
(
window
.
shift
(
float
(
gps
)),
lambda
D
:
D
**
3.
)
return
dict
((
instrument
,
(
vt
/
t
)
**
(
1.
/
3.
))
for
instrument
,
vt
in
vtdict
.
items
())
def
add_signal_model
(
self
,
prefactors_range
=
(
0.001
,
0.0
1
),
df
=
4
00
,
inv_snr_pow
=
4.
):
def
add_signal_model
(
self
,
prefactors_range
=
(
0.001
,
0.
3
0
),
df
=
2
00
,
inv_snr_pow
=
4.
):
# normalize to 10 *mi*llion signals. this count makes the
# density estimation code choose a suitable kernel size
inspiral_extrinsics
.
NumeratorSNRCHIPDF
.
add_signal_model
(
self
.
densities
[
"snr_chi"
],
1
0000000.
,
prefactors_range
,
df
,
inv_snr_pow
=
inv_snr_pow
,
snr_min
=
self
.
snr_min
)
inspiral_extrinsics
.
NumeratorSNRCHIPDF
.
add_signal_model
(
self
.
densities
[
"snr_chi"
],
1
e12
,
prefactors_range
,
df
,
inv_snr_pow
=
inv_snr_pow
,
snr_min
=
self
.
snr_min
)
self
.
densities
[
"snr_chi"
].
normalize
()
def
candidate_count_model
(
self
,
rate
=
1000.
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment