diff --git a/AUTHORS.md b/AUTHORS.md index 7bf380bd69fde382046bfcc339fef7294cb75e12..2ae71ee830649c2ab51a422f39bb46fe9a0983e1 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -88,3 +88,4 @@ Virginia d'Emilio Vivien Raymond Ka-Lok Lo Isaac Legred +Marc Penuliar diff --git a/examples/gw_examples/injection_examples/binary_neutron_star_example.py b/examples/gw_examples/injection_examples/binary_neutron_star_example.py index 90308c3c5b3d2bc973335eb1658647af685a6380..e9c1bb70ad687b953d7c1ebe488623f296917265 100644 --- a/examples/gw_examples/injection_examples/binary_neutron_star_example.py +++ b/examples/gw_examples/injection_examples/binary_neutron_star_example.py @@ -36,8 +36,8 @@ injection_parameters = dict( geocent_time=1126259642.413, ra=1.375, dec=-1.2108, - lambda_1=400, - lambda_2=450, + lambda_1=545, + lambda_2=1346, ) # Set the duration and sampling frequency of the data segment that we're going @@ -102,7 +102,15 @@ priors["symmetric_mass_ratio"] = bilby.core.prior.Uniform( 0.1, 0.25, name="symmetric_mass_ratio" ) priors["lambda_tilde"] = bilby.core.prior.Uniform(0, 5000, name="lambda_tilde") -priors["delta_lambda"] = bilby.core.prior.Uniform(-5000, 5000, name="delta_lambda") +priors["delta_lambda"] = bilby.core.prior.Uniform(-500, 1000, name="delta_lambda") + +priors["lambda_1"] = bilby.core.prior.Constraint( + name="lambda_1", minimum=0, maximum=10000 +) +priors["lambda_2"] = bilby.core.prior.Constraint( + name="lambda_2", minimum=0, maximum=10000 +) + # Initialise the likelihood by passing in the interferometer data (IFOs) # and the waveform generator