Commit 03845695 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Adds assumeSqrtSX to grid-based searches

parent 613f82f9
...@@ -22,7 +22,7 @@ class GridSearch(BaseSearchClass): ...@@ -22,7 +22,7 @@ class GridSearch(BaseSearchClass):
maxStartTime=None, nsegs=1, BSGL=False, minCoverFreq=None, maxStartTime=None, nsegs=1, BSGL=False, minCoverFreq=None,
maxCoverFreq=None, earth_ephem=None, sun_ephem=None, maxCoverFreq=None, earth_ephem=None, sun_ephem=None,
detectors=None, SSBprec=None, injectSources=None, detectors=None, SSBprec=None, injectSources=None,
input_arrays=False): input_arrays=False, assumeSqrtSX=None):
""" """
Parameters Parameters
---------- ----------
...@@ -62,7 +62,8 @@ class GridSearch(BaseSearchClass): ...@@ -62,7 +62,8 @@ class GridSearch(BaseSearchClass):
detectors=self.detectors, transient=False, detectors=self.detectors, transient=False,
minStartTime=self.minStartTime, maxStartTime=self.maxStartTime, minStartTime=self.minStartTime, maxStartTime=self.maxStartTime,
BSGL=self.BSGL, SSBprec=self.SSBprec, BSGL=self.BSGL, SSBprec=self.SSBprec,
injectSources=self.injectSources) injectSources=self.injectSources,
assumeSqrtSX=self.assumeSqrtSX)
self.search.get_det_stat = self.search.run_computefstatistic_single_point self.search.get_det_stat = self.search.run_computefstatistic_single_point
else: else:
self.search = SemiCoherentSearch( self.search = SemiCoherentSearch(
......
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