Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gregory Ashton
PyFstat
Commits
9e046b30
Commit
9e046b30
authored
May 16, 2017
by
Gregory Ashton
Browse files
Adds injectSources to Grid searches
parent
5c7e3fa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyfstat/grid_based_searches.py
View file @
9e046b30
...
...
@@ -21,7 +21,7 @@ class GridSearch(BaseSearchClass):
Alphas
=
[
0
],
Deltas
=
[
0
],
tref
=
None
,
minStartTime
=
None
,
maxStartTime
=
None
,
nsegs
=
1
,
BSGL
=
False
,
minCoverFreq
=
None
,
maxCoverFreq
=
None
,
earth_ephem
=
None
,
sun_ephem
=
None
,
detectors
=
None
,
SSBprec
=
None
):
detectors
=
None
,
SSBprec
=
None
,
injectSources
=
None
):
"""
Parameters
----------
...
...
@@ -57,7 +57,8 @@ class GridSearch(BaseSearchClass):
earth_ephem
=
self
.
earth_ephem
,
sun_ephem
=
self
.
sun_ephem
,
detectors
=
self
.
detectors
,
transient
=
False
,
minStartTime
=
self
.
minStartTime
,
maxStartTime
=
self
.
maxStartTime
,
BSGL
=
self
.
BSGL
,
SSBprec
=
self
.
SSBprec
)
BSGL
=
self
.
BSGL
,
SSBprec
=
self
.
SSBprec
,
injectSources
=
self
.
injectSources
)
self
.
search
.
get_det_stat
=
self
.
search
.
run_computefstatistic_single_point
else
:
self
.
search
=
SemiCoherentSearch
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment