bilby.gw.conversion.generate_all_bbh_parameters

bilby.gw.conversion.generate_all_bbh_parameters(sample, likelihood=None, priors=None, npool=1)[source]

From either a single sample or a set of samples fill in all missing BBH parameters, in place.

Parameters:
sample: dict or pandas.DataFrame

Samples to fill in with extra parameters, this may be either an injection or posterior samples.

likelihood: bilby.gw.likelihood.GravitationalWaveTransient, optional

GravitationalWaveTransient used for sampling, used for waveform and likelihood.interferometers.

priors: dict, optional

Dictionary of prior objects, used to fill in non-sampled parameters.