Skip to content

Commit

Permalink
Add logging for iDQ flagged triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtrevor committed Jul 16, 2024
1 parent ee5e8a3 commit d4061d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/pycbc_live
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,8 @@ with ctx:
padding=data_reader[ifo].dq_padding)

if args.idq_reweighting:
logging.info('iDQ flagged %d/%d %s triggers',
numpy.sum(flag_active), len(times), ifo)
results[ifo]['dq_state'] = flag_active.astype(int)
else:
# use idq as a veto
Expand Down

0 comments on commit d4061d2

Please sign in to comment.