ranking_HM.veto_rank_entry#
Back to Module page
Summary#
Signature#
def veto_rank_entry(rank_entry, ind, triggers_dir = None, source = 'BBH', runs = ('hm_o3a', 'hm_o3b'), min_veto_chi2 = 30, idx_veto_metadata = -2, detectors = ('H1', 'L1'), veto_inds = None, rerun_coh_score = False, cs_instance = None, time_slide_jump = params.DEFAULT_TIMESLIDE_JUMP / 1000.0, coh_score_iterations = 10, return_trig_obj_info = False)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
Entry of one of the arrays in cands_(pre/post)veto_max |
||
|
Index into cands_preveto_max[cand_type], only used to debug which trigger failed |
||
|
None |
Directory where the triggers are stored, exposed for debugging in case we’re using a non-standard directory |
|
|
‘BBH’ |
Should be one of ‘BBH’, ‘BNS’, or ‘NSBH’ |
|
|
(‘hm_o3a’, ‘hm_o3b’) |
Iterable with runs being searched in |
|
|
30 |
Minimum chi2 value to veto |
|
|
-2 |
Index of veto_metadata in the rank_entry |
|
|
(‘H1’, ‘L1’) |
Iterable of detectors, should match the order in the processedclists |
|
|
None |
Indices of vetoes to apply (only used for check) |
|
|
False |
Flag to rerun the coherent score computation (only for triggers that passed the vetoes) |
|
|
None |
Coherent score instance, used only if rerun_coh_score |
|
|
params.DEFAULT_TIMESLIDE_JUMP / 1000.0 |
The least count of the timeslides |
|
|
10 |
Number of iterations for the coherent score |
|
|
False |
Flag to return the trigger objects (only used for debugging) |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
New veto metadata and coherent score |
Docstring#
:param rank_entry: Entry of one of the arrays in cands_(pre/post)veto_max
:param ind:
Index into cands_preveto_max[cand_type], only used to debug which
trigger failed
:param triggers_dir:
Directory where the triggers are stored, exposed for debugging in case
we're using a non-standard directory
:param source: Should be one of 'BBH', 'BNS', or 'NSBH'
:param runs: Iterable with runs being searched in
:param min_veto_chi2: Minimum chi2 value to veto
:param idx_veto_metadata: Index of veto_metadata in the rank_entry
:param detectors:
Iterable of detectors, should match the order in the processedclists
:param veto_inds: Indices of vetoes to apply (only used for check)
:param rerun_coh_score:
Flag to rerun the coherent score computation
(only for triggers that passed the vetoes)
:param cs_instance: Coherent score instance, used only if rerun_coh_score
:param time_slide_jump: The least count of the timeslides
:param coh_score_iterations: Number of iterations for the coherent score
:param return_trig_obj_info:
Flag to return the trigger objects (only used for debugging)
:return: New veto metadata and coherent score