Skip to content
Snippets Groups Projects
Commit b9c94fa7 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Merge branch 'fix_bns_example' into 'master'

Fix the priors in the bns example

See merge request lscsoft/bilby!810
parents 9dd13d06 775947e7
No related branches found
No related tags found
1 merge request!810Fix the priors in the bns example
Pipeline #133114 canceled
......@@ -70,8 +70,7 @@ priors = bilby.gw.prior.BNSPriorDict()
for key in ['psi', 'geocent_time', 'ra', 'dec', 'chi_1', 'chi_2',
'theta_jn', 'luminosity_distance', 'phase']:
priors[key] = injection_parameters[key]
priors.pop('mass_1')
priors.pop('mass_2')
priors.pop('mass_ratio')
priors.pop('lambda_1')
priors.pop('lambda_2')
priors['chirp_mass'] = bilby.core.prior.Gaussian(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment