Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PyFstat
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gregory Ashton
PyFstat
Commits
8d979b1b
Commit
8d979b1b
authored
Feb 08, 2018
by
Gregory Ashton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds capability to give a unique tempory filename
parent
f93e27b1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
pyfstat/core.py
pyfstat/core.py
+1
-2
pyfstat/make_sfts.py
pyfstat/make_sfts.py
+2
-1
No files found.
pyfstat/core.py
View file @
8d979b1b
...
...
@@ -132,7 +132,7 @@ def _get_dictionary_from_lines(lines, comments, raise_error):
def
predict_fstat
(
h0
,
cosi
,
psi
,
Alpha
,
Delta
,
Freq
,
sftfilepattern
,
minStartTime
,
maxStartTime
,
IFO
=
None
,
assumeSqrtSX
=
None
,
**
kwargs
):
tempory_filename
=
'fs.tmp'
,
**
kwargs
):
""" Wrapper to lalapps_PredictFstat
Parameters
...
...
@@ -153,7 +153,6 @@ def predict_fstat(h0, cosi, psi, Alpha, Delta, Freq, sftfilepattern,
The expectation and standard deviation of 2F
"""
tempory_filename
=
'fs.tmp'
cl_pfs
=
[]
cl_pfs
.
append
(
"lalapps_PredictFstat"
)
...
...
pyfstat/make_sfts.py
View file @
8d979b1b
...
...
@@ -259,7 +259,8 @@ transientTauDays = {:1.3f}\n""")
twoF_expected
,
twoF_sigma
=
predict_fstat
(
self
.
h0
,
self
.
cosi
,
self
.
psi
,
self
.
Alpha
,
self
.
Delta
,
self
.
F0
,
self
.
sftfilepath
,
self
.
minStartTime
,
self
.
maxStartTime
,
self
.
detectors
,
self
.
sqrtSX
)
# detectors OR IFO?
self
.
detectors
,
self
.
sqrtSX
,
tempory_filename
=
'{}.tmp'
.
format
(
self
.
label
))
# detectors OR IFO?
return
twoF_expected
...
...
Write
Preview
Markdown
is supported
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