coincidence_HM.stringent_veto#
Back to Module page
Summary#
Apply stringent vetoes to optimized candidates for the edge case in which the best one in the bucket survives, but the coincident ones do not
Signature#
def stringent_veto(triggers, det_ind, trig_obj, min_veto_snr2 = None, group_duration = 0.1, origin = 0, n_cores = 1)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
n_triggers x 2 x row(processedclist) with coincident candidates |
||
|
Index of detector to veto (into 2nd dimension of trigger) |
||
|
Instance of trig.TriggerList with processed data in the detector |
||
|
None |
Veto triggers above this threshold |
|
|
0.1 |
Group triggers every group_duration to save on setup FFTs |
|
|
0 |
Origin to split the times relative to |
|
|
1 |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
|
Docstring#
Apply stringent vetoes to optimized candidates for the edge case in which
the best one in the bucket survives, but the coincident ones do not
:param triggers:
n_triggers x 2 x row(processedclist) with coincident candidates
:param det_ind: Index of detector to veto (into 2nd dimension of trigger)
:param trig_obj:
Instance of trig.TriggerList with processed data in the detector
:param min_veto_snr2: Veto triggers above this threshold
:param group_duration:
Group triggers every group_duration to save on setup FFTs
:param origin: Origin to split the times relative to
:param n_cores:
:return:
1. Boolean array marking whether the triggers pass stringent vetoes
2. Boolean array of shape n_triggers x (4 + len(split_chunks))
with zeros where glitch tests fired
The indices correspond to
0: No chunks present
1: Overall chi-2 test
2: 2 + len(split_chunks): Split test
2 + len(split_chunks): No chunks with greater nchunk
3 + len(split_chunks): Chi^2 with greater nchunk