utils.get_detector_fnames#
Back to Module page
Summary#
Signature#
def get_detector_fnames(t, chirp_mass_id = 0, subbank = None, run = None, source = 'BBH', use_HM = False, dname = None, detectors = ('H1', 'L1', 'V1'), return_only_existing = True)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
GPS time |
||
|
0 |
Chirp mass bank id |
|
|
None |
Subbank id, if None, returns all subbanks |
|
|
None |
Run name, if None, figures it out from t and use_HM |
|
|
‘BBH’ |
Source type (BBH, NSBH, BNS) |
|
|
False |
If True, uses HM run names |
|
|
None |
If not None, returns the json files in this directory |
|
|
(‘H1’, ‘L1’, ‘V1’) |
List of detectors to return files for |
|
|
True |
If True, returns only existing files and None for missing ones |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
An n_detector array of json file names for the TriggerLists at time t |
Docstring#
:param t: GPS time
:param chirp_mass_id: Chirp mass bank id
:param subbank: Subbank id, if None, returns all subbanks
:param run: Run name, if None, figures it out from t and use_HM
:param source: Source type (BBH, NSBH, BNS)
:param use_HM: If True, uses HM run names
:param dname: If not None, returns the json files in this directory
:param detectors: List of detectors to return files for
:param return_only_existing:
If True, returns only existing files and None for missing ones
:return:
An n_detector array of json file names for the TriggerLists at time t