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
Pep Covas Vidal
PyFstat
Commits
23b998fd
Commit
23b998fd
authored
Nov 05, 2019
by
David Keitel
Browse files
ComputeFstat: fix whatToCompute
-it's a bit field, so need += in atoms case
parent
ca31578f
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyfstat/core.py
View file @
23b998fd
...
...
@@ -554,10 +554,9 @@ class ComputeFstat(BaseSearchClass):
logging
.
info
(
"Initialising FstatInput"
)
dFreq
=
0
self
.
whatToCompute
=
lalpulsar
.
FSTATQ_2F
if
self
.
transientWindowType
or
self
.
computeAtoms
:
self
.
whatToCompute
=
lalpulsar
.
FSTATQ_ATOMS_PER_DET
else
:
self
.
whatToCompute
=
lalpulsar
.
FSTATQ_2F
self
.
whatToCompute
+=
lalpulsar
.
FSTATQ_ATOMS_PER_DET
FstatOAs
=
lalpulsar
.
FstatOptionalArgs
()
FstatOAs
.
randSeed
=
lalpulsar
.
FstatOptionalArgsDefaults
.
randSeed
...
...
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