From cd13d3f6225dc83b542858583d5c6c1f58d39e99 Mon Sep 17 00:00:00 2001
From: Gregory Ashton <gregory.ashton@ligo.org>
Date: Fri, 22 Dec 2017 15:08:59 +0100
Subject: [PATCH] Minor fixes to the glitch search

---
 pyfstat/mcmc_based_searches.py | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/pyfstat/mcmc_based_searches.py b/pyfstat/mcmc_based_searches.py
index f3b79b2..b09c7d0 100644
--- a/pyfstat/mcmc_based_searches.py
+++ b/pyfstat/mcmc_based_searches.py
@@ -1601,7 +1601,7 @@ class MCMCGlitchSearch(MCMCSearch):
             'multiplier': 1/86400.,
             'subtractor': 'minStartTime',
             'unit': 'day',
-            'label': 'Glitch time \n days after minStartTime'}
+            'label': '$t^{g}_0$ \n [days]'}
             )
 
     @helper_functions.initializer
@@ -1744,7 +1744,9 @@ class MCMCGlitchSearch(MCMCSearch):
                  ntemps=self.ntemps, theta_keys=self.theta_keys,
                  theta_prior=self.theta_prior,
                  log10beta_min=self.log10beta_min,
-                 theta0_idx=self.theta0_idx, BSGL=self.BSGL)
+                 theta0_idx=self.theta0_idx, BSGL=self.BSGL,
+                 minStartTime=self.minStartTime,
+                 maxStartTime=self.maxStartTime)
         return d
 
     def _apply_corrections_to_p0(self, p0):
@@ -1858,7 +1860,9 @@ class MCMCSemiCoherentSearch(MCMCSearch):
                  ntemps=self.ntemps, theta_keys=self.theta_keys,
                  theta_prior=self.theta_prior,
                  log10beta_min=self.log10beta_min,
-                 BSGL=self.BSGL, nsegs=self.nsegs)
+                 BSGL=self.BSGL, nsegs=self.nsegs,
+                 minStartTime=self.minStartTime,
+                 maxStartTime=self.maxStartTime)
         return d
 
     def _initiate_search_object(self):
-- 
GitLab