Skip to content
GitLab
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
c360e14b
Commit
c360e14b
authored
Apr 20, 2017
by
Gregory Ashton
Browse files
Fixes bug in which SFTs are regenerated (not using cached) with ndetectors>2
parent
99c8266f
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyfstat/core.py
View file @
c360e14b
...
...
@@ -963,13 +963,14 @@ transientTauDays={:1.3f}\n""")
cl
.
append
(
'--outSingleSFT=TRUE'
)
cl
.
append
(
'--outSFTdir="{}"'
.
format
(
self
.
outdir
))
cl
.
append
(
'--outLabel="{}"'
.
format
(
self
.
label
))
cl
.
append
(
'--IFOs="{}"'
.
format
(
self
.
detectors
))
cl
.
append
(
'--IFOs={}'
.
format
(
","
.
join
([
'"{}"'
.
format
(
d
)
for
d
in
self
.
detectors
.
split
(
","
)])))
if
self
.
add_noise
:
cl
.
append
(
'--sqrtSX="{}"'
.
format
(
self
.
sqrtSX
))
if
self
.
minStartTime
is
None
:
cl
.
append
(
'--startTime={:10.
9
f}'
.
format
(
float
(
self
.
tstart
)))
cl
.
append
(
'--startTime={:10.
0
f}'
.
format
(
float
(
self
.
tstart
)))
else
:
cl
.
append
(
'--startTime={:10.
9
f}'
.
format
(
float
(
self
.
minStartTime
)))
cl
.
append
(
'--startTime={:10.
0
f}'
.
format
(
float
(
self
.
minStartTime
)))
if
self
.
maxStartTime
is
None
:
cl
.
append
(
'--duration={}'
.
format
(
int
(
self
.
duration
)))
else
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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