Skip to content

Commit

Permalink
CC problems
Browse files Browse the repository at this point in the history
  • Loading branch information
GarethCabournDavies committed Aug 3, 2023
1 parent 7ef9756 commit 6ca2764
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions pycbc/io/live.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
snr_series_to_xml
)
from pycbc.results import generate_asd_plot, generate_snr_plot
from pycbc.results import ifo_color
from pycbc.results import source_color
from pycbc.mchirp_area import calc_probabilities

Expand Down Expand Up @@ -444,7 +443,7 @@ def upload(self, fname, gracedb_server=None, testing=True,

triggers = {
ifo: (self.coinc_results[f'foreground/{ifo}/end_time']
+ self.time_offset,
+ self.time_offset,
self.coinc_results[f'foreground/{ifo}/snr'])
for ifo in self.et_ifos
}
Expand Down
1 change: 1 addition & 0 deletions pycbc/results/snr.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import pylab as pl
from pycbc.results import ifo_color


def generate_snr_plot(snrdict, output_filename, triggers, ref_time):
"""
Generate an SNR timeseries plot as used for upload to GraceDB.
Expand Down

0 comments on commit 6ca2764

Please sign in to comment.