Skip to content
Snippets Groups Projects
Commit 7360fe56 authored by Kyle Wong's avatar Kyle Wong Committed by Colm Talbot
Browse files

BUGFIX: typo in delta_lambda_tilde prior key in bns_example.py

parent ecc90767
No related branches found
No related tags found
1 merge request!1287BUGFIX: typo in delta_lambda_tilde prior key in bns_example.py
Pipeline #561107 passed
...@@ -43,6 +43,7 @@ Kaylee de Soto ...@@ -43,6 +43,7 @@ Kaylee de Soto
Khun Sang Phukon Khun Sang Phukon
Kruthi Krishna Kruthi Krishna
Kshipraa Athar Kshipraa Athar
Kyle Wong
Leslie Wade Leslie Wade
Liting Xiao Liting Xiao
Maite Mateu-Lucena Maite Mateu-Lucena
......
...@@ -78,7 +78,7 @@ interferometers.inject_signal( ...@@ -78,7 +78,7 @@ interferometers.inject_signal(
# Load the default prior for binary neutron stars. # Load the default prior for binary neutron stars.
# We're going to sample in chirp_mass, symmetric_mass_ratio, lambda_tilde, and # We're going to sample in chirp_mass, symmetric_mass_ratio, lambda_tilde, and
# delta_lambda rather than mass_1, mass_2, lambda_1, and lambda_2. # delta_lambda_tilde rather than mass_1, mass_2, lambda_1, and lambda_2.
# BNS have aligned spins by default, if you want to allow precessing spins # BNS have aligned spins by default, if you want to allow precessing spins
# pass aligned_spin=False to the BNSPriorDict # pass aligned_spin=False to the BNSPriorDict
priors = bilby.gw.prior.BNSPriorDict() priors = bilby.gw.prior.BNSPriorDict()
...@@ -102,8 +102,9 @@ priors["symmetric_mass_ratio"] = bilby.core.prior.Uniform( ...@@ -102,8 +102,9 @@ priors["symmetric_mass_ratio"] = bilby.core.prior.Uniform(
0.1, 0.25, name="symmetric_mass_ratio" 0.1, 0.25, name="symmetric_mass_ratio"
) )
priors["lambda_tilde"] = bilby.core.prior.Uniform(0, 5000, name="lambda_tilde") priors["lambda_tilde"] = bilby.core.prior.Uniform(0, 5000, name="lambda_tilde")
priors["delta_lambda"] = bilby.core.prior.Uniform(-500, 1000, name="delta_lambda") priors["delta_lambda_tilde"] = bilby.core.prior.Uniform(
-500, 1000, name="delta_lambda_tilde"
)
priors["lambda_1"] = bilby.core.prior.Constraint( priors["lambda_1"] = bilby.core.prior.Constraint(
name="lambda_1", minimum=0, maximum=10000 name="lambda_1", minimum=0, maximum=10000
) )
......
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