bilby.gw.conversion.convert_to_lal_binary_black_hole_parameters
- bilby.gw.conversion.convert_to_lal_binary_black_hole_parameters(parameters)[source]
Convert parameters we have into parameters we need.
This is defined by the parameters of bilby.source.lal_binary_black_hole()
Mass: mass_1, mass_2 Spin: a_1, a_2, tilt_1, tilt_2, phi_12, phi_jl Extrinsic: luminosity_distance, theta_jn, phase, ra, dec, geocent_time, psi
This involves popping a lot of things from parameters. The keys in added_keys should be popped after evaluating the waveform.
- Parameters:
- parameters: dict
dictionary of parameter values to convert into the required parameters
- Returns:
- converted_parameters: dict
dict of the required parameters
- added_keys: list
keys which are added to parameters during function call