diff --git a/gstlal-inspiral/python/lloidparts.py b/gstlal-inspiral/python/lloidparts.py index bde4baefcf5827a43b86a09c878f2bc9d7873cc1..73e4db619fe19f8a3908fc6e026a82e9b07d4658 100644 --- a/gstlal-inspiral/python/lloidparts.py +++ b/gstlal-inspiral/python/lloidparts.py @@ -1051,7 +1051,7 @@ def mkLLOIDmulti(pipeline, detectors, banks, psd, psd_fft_length = 32, ht_gate_t width = 32, statevector = statevector, dqvector = dqvector, - fir_whiten_reference_psd = banks[instrument][0].psd[instrument] + fir_whiten_reference_psd = banks[instrument][0].processed_psd ) # diff --git a/gstlal-inspiral/python/svd_bank.py b/gstlal-inspiral/python/svd_bank.py index 2d295183f665a27edc9c143d34af9dd3812c3a3f..586c1e12c41519f3c7fc08cd53548bacdcaf4693 100644 --- a/gstlal-inspiral/python/svd_bank.py +++ b/gstlal-inspiral/python/svd_bank.py @@ -349,7 +349,9 @@ def read_banks(filename, contenthandler, verbose = False): # FIXME in principle this could be different for each bank included in # this file, but we only put one in the file for now - psd = lal.series.read_psd_xmldoc(xmldoc) + # FIXME, right now there is only one instrument so we just pull out the + # only psd there is + processed_psd = lal.series.read_psd_xmldoc(xmldoc).values()[0] for root in (elem for elem in xmldoc.getElementsByTagName(ligolw.LIGO_LW.tagName) if elem.hasAttribute(u"Name") and elem.Name == "gstlal_svd_bank_Bank"): @@ -374,7 +376,7 @@ def read_banks(filename, contenthandler, verbose = False): bank.sigmasq = ligolw_array.get_array(root, 'sigmasq').array # attach a reference to the psd - bank.psd = psd + bank.processed_psd = processed_psd # Read bank fragments bank.bank_fragments = []