dingo-gw / dingo

Dingo: Deep inference for gravitational-wave observations
MIT License
51 stars 16 forks source link

Update `log_prior` when changing `spin_conversion_phase` #219

Open stephengreen opened 9 months ago

stephengreen commented 9 months ago

The prior evaluations at each sample point should change when changing the spin_conversion_phase in https://github.com/dingo-gw/dingo/blob/c9bf1ec2846b869584f0ec65f8144d8192beb5e8/dingo/gw/conversion/spin_conversion.py#L130 This is because the prior over phi_jl is non-uniform. If log_weights are already stored, they should be updated as well.

The likelihood, however, is unchanged. As is the evidence.