Commit 60fab8af authored by Leo Pound Singer's avatar Leo Pound Singer

Don't set PSD epoch; we don't use it

Original: a1d48bd94dc09a542e470ebb672c42dae484244c
parent 3a25eeed
......@@ -151,7 +151,7 @@ if opts.psd_files: # read pycbc psds here
kmin = int(flow / df)
fseries = lal.CreateREAL8FrequencySeries(
'psd', psd.attrs['epoch'], kmin * df, df,
'psd', 0, kmin * df, df,
lal.StrainUnit**2 / lal.HertzUnit, len(psd.value) - kmin)
fseries.data.data = psd.value[kmin:] / np.square(ligolw_bayestar.PYCBC_DYN_RANGE_FAC)
......
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