Skip to content
Snippets Groups Projects
Commit 5060d24d authored by Leo Tsukada's avatar Leo Tsukada
Browse files

gstlal_inspiral_add_dt_dphi_snr_ratio_pdfs : close the dataset of

covmat.h5
parent f6d27f05
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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