Skip to content

Commit

Permalink
Further clarify which detectors are used only for localization
Browse files Browse the repository at this point in the history
  • Loading branch information
titodalcanton committed Feb 19, 2024
1 parent 12a6a91 commit 2f2b527
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions bin/pycbc_live
Original file line number Diff line number Diff line change
Expand Up @@ -547,13 +547,15 @@ class LiveEventManager(object):
'Trigger produced as a {} coincidence.<br />'
'Two-detector ranking statistic: {}<br />'
'Detectors used for FAR calculation: {}.<br />'
'Detectors used for localization: {}.'
'Detectors used for localization: {}.<br />'
'Detectors used only for localization: {}.'
)
comment = comment.format(
ppdets(coinc_ifos),
args.ranking_statistic,
set(ifos) - self.skymap_only_ifos,
ppdets(followup_ifos)
ppdets(followup_ifos),
ppdets(self.skymap_only_ifos)
)

ifar = coinc_results['foreground/ifar']
Expand Down Expand Up @@ -650,9 +652,12 @@ class LiveEventManager(object):
comment = (
'Trigger produced as a {0} single.<br />'
'Detectors used for FAR calculation: {0}.<br />'
'Detectors used for localization: {1}.'
'Detectors used for localization: {1}.<br />'
'Detectors used only for localization: {2}.'
)
comment = comment.format(
ifo, ppdets(followup_ifos), ppdets(self.skymap_only_ifos)
)
comment = comment.format(ifo, ppdets(followup_ifos))

# Has a coinc event at this time been uploaded recently?
# If so, skip upload - Note that this means that we _always_
Expand Down

0 comments on commit 2f2b527

Please sign in to comment.