Skip to content

Commit

Permalink
reinstate SNR timeseries being saved into HDF
Browse files Browse the repository at this point in the history
  • Loading branch information
GarethCabournDavies committed Dec 20, 2023
1 parent 1877494 commit 400f177
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pycbc/io/live.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,10 @@ def upload(self, fname, gracedb_server=None, testing=True,

generate_asd_plot(self.psds, asd_series_plot_fname)

for ifo in sorted(self.snr_series):
curr_snrs = self.snr_series[ifo]
curr_snrs.save(snr_series_fname, group='%s/snr' % ifo)

# Additionally save the PSDs into the snr_series file
for ifo in sorted(self.psds):
# Undo dynamic range factor
Expand Down

0 comments on commit 400f177

Please sign in to comment.