Commit 78735998 authored by Ryan's avatar Ryan

inspiral_lr.py: Needed to add dtdphi reference to the splice class method in...

inspiral_lr.py: Needed to add dtdphi reference to the splice class method in OnlineFrankensteinLnSignalDensity. Should have been included in original dtdphi push, but it slipped under my radar until skymap dag testing.
parent f023a339
Pipeline #76123 passed with stages
in 25 minutes and 38 seconds
......@@ -662,7 +662,7 @@ class OnlineFrankensteinLnSignalDensity(LnSignalDensity):
"""
@classmethod
def splice(cls, src, Dh_donor):
self = cls(src.template_ids, src.instruments, src.delta_t, population_model_file = src.population_model_file, min_instruments = src.min_instruments, horizon_factors = src.horizon_factors)
self = cls(src.template_ids, src.instruments, src.delta_t, population_model_file = src.population_model_file, dtdphi_file = src.dtdphi_file, min_instruments = src.min_instruments, horizon_factors = src.horizon_factors)
for key, lnpdf in src.densities.items():
self.densities[key] = lnpdf.copy()
# NOTE: not a copy. we hold a reference to the donor's
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment