Commit 6d8c913e authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Minor fixing following update to current lalapps version

parent fea5d7c3
...@@ -1041,9 +1041,9 @@ transientTauDays={:1.3f}\n""") ...@@ -1041,9 +1041,9 @@ transientTauDays={:1.3f}\n""")
if self.add_noise: if self.add_noise:
cl.append('--sqrtSX="{}"'.format(self.sqrtSX)) cl.append('--sqrtSX="{}"'.format(self.sqrtSX))
if self.minStartTime is None: if self.minStartTime is None:
cl.append('--startTime={:10.0f}'.format(float(self.tstart))) cl.append('--startTime={:0.0f}'.format(float(self.tstart)))
else: else:
cl.append('--startTime={:10.0f}'.format(float(self.minStartTime))) cl.append('--startTime={:0.0f}'.format(float(self.minStartTime)))
if self.maxStartTime is None: if self.maxStartTime is None:
cl.append('--duration={}'.format(int(self.duration))) cl.append('--duration={}'.format(int(self.duration)))
else: else:
......
...@@ -192,7 +192,7 @@ class TestMCMCSearch(Test): ...@@ -192,7 +192,7 @@ class TestMCMCSearch(Test):
label = "Test" label = "Test"
def test_fully_coherent(self): def test_fully_coherent(self):
h0 = 1e-24 h0 = 5e-24
sqrtSX = 1e-22 sqrtSX = 1e-22
F0 = 30 F0 = 30
F1 = -1e-10 F1 = -1e-10
...@@ -233,7 +233,7 @@ class TestMCMCSearch(Test): ...@@ -233,7 +233,7 @@ class TestMCMCSearch(Test):
FS > predicted_FS or np.abs((FS-predicted_FS))/predicted_FS < 0.3) FS > predicted_FS or np.abs((FS-predicted_FS))/predicted_FS < 0.3)
def test_multi_stage(self): def test_multi_stage(self):
Writer = pyfstat.Writer() Writer = pyfstat.Writer(F0=10)
Writer.make_cff() Writer.make_cff()
theta = {'F0': {'type': 'norm', 'loc': 10, 'scale': 1e-2}, theta = {'F0': {'type': 'norm', 'loc': 10, 'scale': 1e-2},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment