Closed Kruthi24 closed 3 years ago
@Kruthi24 I think I have found a way to solve this problem --- basically one has to change the compute_snrs
function inside conversion.py
by adding a case with the following statement:
if isinstance(likelihood, RelativeBinningGravitationalWaveTransient):
Of course one will have to add more changes to the function, but this can be done.
We are getting the following error (screenshots attached) when we use
conversion_function= bilby.gw.conversion.generate_all_bns_parameters
inbilby. run_sampler
. This is due to the fact that inconversion.py
,likelihood.calculate_snrs
is being called instead oflikelihood.calculate_snrs_from_summary_data
. A temporary fix for this issue has been made here #5