coincidence_HM.collect_all_candidate_files_npz#
Back to Module page
Summary#
Signature#
def collect_all_candidate_files_npz(dir_path, collect_before_veto = True, collect_rerun = True, collect_timeseries = False, detectors = ('H1', 'L1'), ncores = 1)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
|||
|
True |
Flag whether to return results before vetoes. If False, we will only return the vetoed candidates |
|
|
True |
Flag indicating whether to collect rerun files |
|
|
False |
Flag whether to collect timeseries |
|
|
(‘H1’, ‘L1’) |
Tuple with names of the two detectors we will be loading results for |
|
|
1 |
Number of cores to use for collection |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
events, veto_metadata, coherent_scores, veto_metadata_keys (+ timeseries if collect_timeseries) |
Docstring#
:param dir_path:
:param collect_before_veto:
Flag whether to return results before vetoes. If False, we will only
return the vetoed candidates
:param collect_rerun: Flag indicating whether to collect rerun files
:param collect_timeseries: Flag whether to collect timeseries
:param detectors:
Tuple with names of the two detectors we will be loading results for
:param ncores: Number of cores to use for collection
:return:
events, veto_metadata, coherent_scores, veto_metadata_keys
(+ timeseries if collect_timeseries)