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
5c6a4388
Commit
5c6a4388
authored
Nov 08, 2016
by
Gregory Ashton
Browse files
Fix errors in injectSources implementation
parent
d894aa89
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyfstat.py
View file @
5c6a4388
...
...
@@ -281,7 +281,7 @@ class ComputeFstat(object):
FstatOAs
.
prevInput
=
lalpulsar
.
FstatOptionalArgsDefaults
.
prevInput
FstatOAs
.
collectTiming
=
lalpulsar
.
FstatOptionalArgsDefaults
.
collectTiming
if
type
(
self
.
injectSources
)
==
dict
:
if
hasattr
(
self
,
'injectSource'
)
and
type
(
self
.
injectSources
)
==
dict
:
logging
.
info
(
'Injecting source with params: {}'
.
format
(
self
.
injectSources
))
PPV
=
lalpulsar
.
CreatePulsarParamsVector
(
1
)
...
...
@@ -688,7 +688,7 @@ class MCMCSearch(BaseSearchClass):
log10temperature_min
=-
5
,
theta_initial
=
None
,
scatter_val
=
1e-10
,
binary
=
False
,
BSGL
=
False
,
minCoverFreq
=
None
,
maxCoverFreq
=
None
,
detector
=
None
,
earth_ephem
=
None
,
sun_ephem
=
None
,
injectSource
=
None
):
sun_ephem
=
None
,
injectSource
s
=
None
):
"""
Parameters
label, outdir: str
...
...
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