The bilby implementation follows the implementation of the dispersion implemented in LAL simulation. The parametrization of LIV has the form:
```math
...
...
@@ -39,7 +39,7 @@ The difference stems from the 2 points:
1. The correction is parametrized in terms of $` A_{\alpha,eff}`$ instead of $` \lambda_{A,eff}`$
2. The correction used in lal inference was derived using phase velocity, while this one uses group velocity, following `https://dcc.ligo.org/DocDB/0182/P2200154/001/GW_phase_degeneracies.pdf`.
# Reparametrizing phase velocity correction in terms of A
## Reparametrizing phase velocity correction in terms of A
1. Route one - plug in the definition of $`\lambda_{\alpha, eff}`$.
```math
...
...
@@ -62,7 +62,7 @@ Combining equations 28-32 (remembering that they are in units $`G=c=1`$) togethe
```
and then follow the steps of route 1.
# Parametrization in terms of group velocity.
## Parametrization in terms of group velocity.
Reference `https://dcc.ligo.org/DocDB/0182/P2200154/001/GW_phase_degeneracies.pdf` derives the LIV correction if one uses group velocity instead of phase velocity. The result is eq. 2.9:
...
...
@@ -74,3 +74,62 @@ The paper uses $`\hbar=1`$ and does not include $'c'$ in the definition of $`D_\
Sampling directly on $`A_\alpha`$ would be computationally expensive. The LIV phase term depends on $`D_\alpha`$, which is an integral over redshift. Therefore, if we were to sample on $`A_\alpha`$, we would 1st have to find redshift $`z`$ by numerically inverting $`D_L(z)`$, and then do an integral to find $`D_\alpha(z)`$. Instead, we sample on $`A_{\alpha, eff} =(D_{\alpha}/D_L)(1+z)^{\alpha-1}A_{\alpha}`$, bypassing the problem.
(As a side note we could also try using a lookup table in the likelihood function, with which we could quickly convert between $`D_L`$ and $`D_\alpha`$, but that would require implementing custom bilby likelihood function)
We are interested in the end in how would the posterior look under the prior flat in $`A_\alpha`$ (flat in graviton mass), therefore we need to correct the posterior after the PE run finishes.
## Transforming posteriors
Consider posterior $`p(\theta | d)`$ obtained from sampling in parameters $`\theta`$ and the posterior we would have gotten if we sampled in parameters $`\theta'`$, $`p(\theta' | d)d`$. They are related by the Jacobian:
with $`\theta`$ now referring just to the LIV parameter.
For the purpose of reweighting, we don't have to worry about the overall proportionality factor. In the code in this implementation, I account for the following transformations: