Surrogate Waveforms "SEOBNRv4" with bilby
I would like to know if we can use bilby to study the SEOBNRv4 or SEOBNRv4_ROM waveform and to perform parameter estimation?
I am trying to perform the Parameter estimation for aligned spin BBH's with SEOBNRv4_ROM waveform using bilby. I used the priors from the bilby.gw.priors.aligned_spin_binary_black_holes.prior
and modified them on the bases of issue #328
and #334
to avoid the errors which could occur. After executing the code I ran into errors with source code key as mentioned follow
/Users/ashish2615/cbcpm/lib/python3.7/site-packages/bilby/gw/detector/psd.py:356: RuntimeWarning: invalid value encountered in multiply frequency_domain_strain = self.__power_spectral_density_interpolated(frequencies) ** 0.5 * white_noise
Traceback (most recent call last): File "/Users/ashish2615/Desktop/cbcpm/SEOBNRv4.py", line 92, in <module> IFOs.inject_signal(waveform_generator=waveform_generator, parameters=injection_parameters)
File "/Users/ashish2615/cbcpm/lib/python3.7/site-packages/bilby/gw/detector/networks.py", line 145, in inject_signal waveform_generator.frequency_domain_strain(parameters)
File "/Users/ashish2615/cbcpm/lib/python3.7/site-packages/bilby/gw/waveform_generator.py", line 119, in frequency_domain_strain transformed_model_data_points=self.time_array)
File "/Users/ashish2615/cbcpm/lib/python3.7/site-packages/bilby/gw/waveform_generator.py", line 154, in _calculate_strain self.parameters = parameters
File "/Users/ashish2615/cbcpm/lib/python3.7/site-packages/bilby/gw/waveform_generator.py", line 220, in parameters new_parameters.pop(key) KeyError: 'a_1'
Process finished with exit code 1