diff --git a/examples/injection_examples/eccentric_inspiral.py b/examples/injection_examples/eccentric_inspiral.py index fbe71b0a55fe3bbc38f0b2c6d623f06e8c521438..79bdf8088e8cee636b389132ff09a5e0d0ff1937 100644 --- a/examples/injection_examples/eccentric_inspiral.py +++ b/examples/injection_examples/eccentric_inspiral.py @@ -66,7 +66,7 @@ priors["luminosity_distance"] = tupak.gw.prior.UniformComovingVolume(name='lumi priors["dec"] = tupak.core.prior.Cosine(name='dec') priors["ra"] = tupak.core.prior.Uniform(name='ra', minimum=0, maximum=2 * np.pi) priors["iota"] = tupak.core.prior.Sine(name='iota') -priors["psi"] = tupak.core.prior.Uniform(name='psi', minimum=0, maximum=2 * np.pi) +priors["psi"] = tupak.core.prior.Uniform(name='psi', minimum=0, maximum=np.pi) priors["phase"] = tupak.core.prior.Uniform(name='phase', minimum=0, maximum=2 * np.pi) priors["geocent_time"] = tupak.core.prior.Uniform(1180002600.9, 1180002601.1, name='geocent_time') diff --git a/optional_requirements.txt b/optional_requirements.txt index bb4d2aadd2451de8043928164baa0c8e428fdf45..c002738f5c87d5ff8f6533c0f94ae2f857d3df96 100644 --- a/optional_requirements.txt +++ b/optional_requirements.txt @@ -1,4 +1,4 @@ astropy -lalsuite +lalsuite<=6.48.1.dev20180823 gwpy theano \ No newline at end of file diff --git a/tupak/gw/prior_files/GW150914.prior b/tupak/gw/prior_files/GW150914.prior index 276a6b9f710b3835206441279b2b3ffbe7644b32..8c372425f351e4df9012377101e9b41d8e1da85a 100644 --- a/tupak/gw/prior_files/GW150914.prior +++ b/tupak/gw/prior_files/GW150914.prior @@ -11,7 +11,7 @@ luminosity_distance = tupak.gw.prior.UniformComovingVolume(name='luminosity_dis dec = Cosine(name='dec') ra = Uniform(name='ra', minimum=0, maximum=2 * np.pi) iota = Sine(name='iota') -psi = Uniform(name='psi', minimum=0, maximum=2 * np.pi) +psi = Uniform(name='psi', minimum=0, maximum=np.pi) phase = Uniform(name='phase', minimum=0, maximum=2 * np.pi) geocent_time = Uniform(1126259462.322, 1126259462.522, name='geocent_time') # These are the calibration parameters as described in diff --git a/tupak/gw/prior_files/binary_black_holes.prior b/tupak/gw/prior_files/binary_black_holes.prior index 2d91e1f7ea491e56774b8345ef7f718423648a17..7dfc784a2107c1b0eb5a837743a054fef3fc7c37 100644 --- a/tupak/gw/prior_files/binary_black_holes.prior +++ b/tupak/gw/prior_files/binary_black_holes.prior @@ -21,5 +21,5 @@ dec = Cosine(name='dec') ra = Uniform(name='ra', minimum=0, maximum=2 * np.pi) iota = Sine(name='iota') # cos_iota = Uniform(name='cos_iota', minimum=-1, maximum=1) -psi = Uniform(name='psi', minimum=0, maximum=2 * np.pi) +psi = Uniform(name='psi', minimum=0, maximum=np.pi) phase = Uniform(name='phase', minimum=0, maximum=2 * np.pi)