From feeee226568724cbc5fe0ab472064d2b71fe01c6 Mon Sep 17 00:00:00 2001 From: "moritz.huebner" <email@moritz-huebner.de> Date: Wed, 7 Nov 2018 16:26:08 +1100 Subject: [PATCH] Changes damping_time prior so that it does not go to zero --- .../create_your_own_time_domain_source_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/injection_examples/create_your_own_time_domain_source_model.py b/examples/injection_examples/create_your_own_time_domain_source_model.py index 82ca24d18..f8ebcd12b 100644 --- a/examples/injection_examples/create_your_own_time_domain_source_model.py +++ b/examples/injection_examples/create_your_own_time_domain_source_model.py @@ -49,7 +49,7 @@ ifos.inject_signal(waveform_generator=waveform, prior = injection_parameters.copy() prior['amplitude'] = bilby.core.prior.LogUniform(1e-23, 1e-21, r'$h_0$') prior['damping_time'] = bilby.core.prior.Uniform( - 0, 1, r'damping time', unit='$s$') + 0.01, 1, r'damping time', unit='$s$') prior['frequency'] = bilby.core.prior.Uniform(0, 200, r'frequency', unit='Hz') prior['phase'] = bilby.core.prior.Uniform(-np.pi / 2, np.pi / 2, r'$\phi$') -- GitLab