bilby.gw.conversion.log_pressure_reparameterization_conversion

bilby.gw.conversion.log_pressure_reparameterization_conversion(scaled_pressure_ratio, scaled_pressure_2)[source]
Converts the reparameterization joining pressures from

(scaled_pressure_ratio,scaled_pressure_2) to (log10_pressure_1,log10_pressure_2).

This reparameterization with a triangular prior (with mode = max) on scaled_pressure_2

and a uniform prior on scaled_pressure_ratio mimics identical uniform priors on log10_pressure_1 and log10_pressure_2 where samples with log10_pressure_2 > log10_pressure_1 are rejected.

This reparameterization allows for a faster initialization. A minimum log10_pressure of 33 (in cgs units) is chosen to be slightly higher than the low-density crust EOS

that is stitched to the dynamic polytrope EOS model in LALSimulation.

Parameters:
scaled_pressure_ratio, scaled_pressure_2: float

reparameterizations of the dividing pressures

Returns:
log10_pressure_1, log10_pressure_2: float

joining pressures in the original parameterization