bilby.gw.conversion.identity_map_generation
- bilby.gw.conversion.identity_map_generation(sample, likelihood=None, priors=None, npool=1)[source]
An identity map generation function that handles marginalizations, SNRs, etc. correctly, but does not attempt e.g. conversions in mass or spins
- 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.
- Returns: