Skip to content
Snippets Groups Projects
Commit 78735998 authored by Ryan's avatar Ryan
Browse files

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
No related branches found
No related tags found
No related merge requests found
Pipeline #76123 passed with warnings
......@@ -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
......
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