Skip to content
Snippets Groups Projects
Commit e720c0c1 authored by Cody Messick's avatar Cody Messick
Browse files

inspiral_lr.py: added None template_id to random_params because...

inspiral_lr.py: added None template_id to random_params because likelihood-ratio code requires it now
parent b09752f9
No related branches found
No related tags found
No related merge requests found
......@@ -804,6 +804,10 @@ class LnNoiseDensity(LnLRDensity):
# off at "t"
kwargs["dt"] = t_offsets_gen[instruments]()
kwargs["phase"] = dict((instrument, random_uniform(0., twopi)) for instrument in instruments)
# FIXME random_params needs to be given a meaningful
# template_id, but for now it is not used in the
# likelihood-ratio assignment so we don't care
kwargs["template_id"] = None
# NOTE: I think the result of this sum is, in
# fact, correctly normalized, but nothing requires
# it to be (only that it be correct up to an
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment