Functions | |
def | parse_command_line () |
Variables | |
options | |
process_params | |
filenames | |
xmldoc = ligolw_utils.load_filename(filename, verbose = options.verbose) | |
process = ligolw_process.register_to_xmldoc(xmldoc, "brute_force_coinc", process_params) | |
coinctables = snglcoinc.CoincTables(xmldoc, InspiralCoincDef) | |
instruments = list(set(row.ifo for row in lsctables.SnglInspiralTable.get_table(xmldoc))) | |
dt = dict((frozenset(pair), options.delta_t + snglcoinc.light_travel_time(*pair)) for pair in itertools.combinations(instruments, 2)) | |
sngls = dict.fromkeys(row.template_id for row in lsctables.SnglInspiralTable.get_table(xmldoc)) | |
key | |
offsetvectors = lsctables.TimeSlideTable.get_table(xmldoc).as_dict() | |
exclude = set() | |
offsets = tuple(offsetvector[instrument] for instrument in select_instruments) | |
event_ids = frozenset(sngl.event_id for sngl in sngls) | |
ends = tuple((instrument, sngl.end + offset) for instrument, sngl, offset in zip(select_instruments, sngls, offsets)) | |
filename | |
verbose | |
def thinca_brute_force_coinc.parse_command_line | ( | ) |
Definition at line 17 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.options |
Definition at line 36 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.process_params |
Definition at line 36 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.filenames |
Definition at line 36 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.xmldoc = ligolw_utils.load_filename(filename, verbose = options.verbose) |
Definition at line 40 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.process = ligolw_process.register_to_xmldoc(xmldoc, "brute_force_coinc", process_params) |
Definition at line 42 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.coinctables = snglcoinc.CoincTables(xmldoc, InspiralCoincDef) |
Definition at line 45 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.instruments = list(set(row.ifo for row in lsctables.SnglInspiralTable.get_table(xmldoc))) |
Definition at line 51 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.dt = dict((frozenset(pair), options.delta_t + snglcoinc.light_travel_time(*pair)) for pair in itertools.combinations(instruments, 2)) |
Definition at line 52 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.sngls = dict.fromkeys(row.template_id for row in lsctables.SnglInspiralTable.get_table(xmldoc)) |
Definition at line 54 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.key |
Definition at line 61 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.offsetvectors = lsctables.TimeSlideTable.get_table(xmldoc).as_dict() |
Definition at line 63 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.exclude = set() |
Definition at line 73 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.offsets = tuple(offsetvector[instrument] for instrument in select_instruments) |
Definition at line 77 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.event_ids = frozenset(sngl.event_id for sngl in sngls) |
Definition at line 79 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.ends = tuple((instrument, sngl.end + offset) for instrument, sngl, offset in zip(select_instruments, sngls, offsets)) |
Definition at line 82 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.filename |
Definition at line 90 of file thinca_brute_force_coinc.py.
thinca_brute_force_coinc.verbose |
Definition at line 90 of file thinca_brute_force_coinc.py.