Commit 5060d24d authored by Leo Tsukada's avatar Leo Tsukada

gstlal_inspiral_add_dt_dphi_snr_ratio_pdfs : close the dataset of

covmat.h5
parent f6d27f05
......@@ -24,6 +24,7 @@ from gstlal.stats.inspiral_extrinsics import TimePhaseSNR
# Read in and combine all of the input files
h5_covmat = h5py.File(sys.argv[1])
kwargs = {"SNR":h5_covmat["SNR"], "psd_fname":h5_covmat["psd"]}
h5_covmat.close()
files = sys.argv[2:]
TPS = TimePhaseSNR.from_hdf5(files[0], files[1:], **kwargs)
......
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