Core package to analyze gravitational-wave data, find signals, and study their parameters. This package was used in the first direct detection of gravitational waves (GW150914), and is used in the ongoing analysis of LIGO/Virgo data.
The referred command line reports an error for ambiguous injections in the data when the cluster window is set low or equal to the injection window. For example, for cluster and injection window set as 2 and 1 respectively, the line gives the following error:
IndexError: index XXXX is out of bounds for axis 1 with size XXX
Since the two lines, 174 and 175, are not used in any part of the script, I request to suggest a better method to fix the bug arising in the case of ambiguous injections at a low cluster window.
https://github.com/gwastro/pycbc/blob/629428c9796ca9b1035a935e039d35f6a55ca869/bin/hdfcoinc/pycbc_coinc_hdfinjfind#L174
The referred command line reports an error for ambiguous injections in the data when the cluster window is set low or equal to the injection window. For example, for cluster and injection window set as 2 and 1 respectively, the line gives the following error: IndexError: index XXXX is out of bounds for axis 1 with size XXX Since the two lines, 174 and 175, are not used in any part of the script, I request to suggest a better method to fix the bug arising in the case of ambiguous injections at a low cluster window.