Skip to content

Commit

Permalink
TD comment
Browse files Browse the repository at this point in the history
  • Loading branch information
GarethCabournDavies committed Oct 9, 2023
1 parent 425565a commit f9b8b44
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bin/minifollowups/pycbc_injection_minifollowup
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,16 @@ def nearby_missedinj(endtime, snr):
Parameters
----------
endtime: numpy array
Trigger times to be checked against the missed injection times
Trigger times to be checked against the missed injection times
snr: numpy array
(Unused, but to prevent a TypeError) SNR of the triggers
Required by design of the HFile.select method but not used,
SNR of the triggers
Returns
-------
boolean array
True for triggers which are close to any missed injection
True for triggers which are close to any missed injection
"""
left = numpy.searchsorted(missed_inj_times - safe_window, endtime)
right = numpy.searchsorted(missed_inj_times + safe_window, endtime)
Expand Down

0 comments on commit f9b8b44

Please sign in to comment.