Skip to content

ROQ Likelihood does not permit the calculation of SNRs (which breaks conversion functions)

When trying to use gw.conversion._generate_all_cbc_parameters, using the ROQ likelihood will break the post-processing stage, when the SNR cannot be calculated. The traceback is:

21:29 bilby WARNING : linear not a polarization mode!
Traceback (most recent call last):
...
File "bilby/gw/conversion.py", line 966, in compute_snrs
    signal_polarizations, sample.iloc[ii])
  File "bilby/gw/detector.py", line 1281, in get_detector_response
    parameters['psi'], mode)
  File "bilby/gw/detector.py", line 1259, in antenna_response
    return np.einsum('ij,ij->', self.detector_tensor, polarization_tensor)

@colm.talbot @gregory.ashton