Commit 218ca35b authored by Pep Covas Vidal's avatar Pep Covas Vidal
Browse files

Add binaryTimingFlag to select which binary timing method to use (zero ecc, small ecc or full)

parent 2345a602
Pipeline #9864 canceled with stages
...@@ -2276,6 +2276,7 @@ class MCMCSemiCoherentSearch(MCMCSearch): ...@@ -2276,6 +2276,7 @@ class MCMCSemiCoherentSearch(MCMCSearch):
injectSources=None, injectSources=None,
assumeSqrtSX=None, assumeSqrtSX=None,
nsegs=None, nsegs=None,
binaryTimingFlag=0,
): ):
self.theta_prior = theta_prior self.theta_prior = theta_prior
...@@ -2300,6 +2301,7 @@ class MCMCSemiCoherentSearch(MCMCSearch): ...@@ -2300,6 +2301,7 @@ class MCMCSemiCoherentSearch(MCMCSearch):
self.injectSources = injectSources self.injectSources = injectSources
self.assumeSqrtSX = assumeSqrtSX self.assumeSqrtSX = assumeSqrtSX
self.nsegs = nsegs self.nsegs = nsegs
self.binaryTimingFlag = binaryTimingFlag
if os.path.isdir(outdir) is False: if os.path.isdir(outdir) is False:
os.mkdir(outdir) os.mkdir(outdir)
...@@ -2361,6 +2363,7 @@ class MCMCSemiCoherentSearch(MCMCSearch): ...@@ -2361,6 +2363,7 @@ class MCMCSemiCoherentSearch(MCMCSearch):
detectors=self.detectors, detectors=self.detectors,
injectSources=self.injectSources, injectSources=self.injectSources,
assumeSqrtSX=self.assumeSqrtSX, assumeSqrtSX=self.assumeSqrtSX,
binaryTimingFlag = self.binaryTimingFlag,
) )
if self.minStartTime is None: if self.minStartTime is None:
self.minStartTime = self.search.minStartTime self.minStartTime = self.search.minStartTime
......
Supports Markdown
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