diff --git a/pyfstat/core.py b/pyfstat/core.py index b19f3693313d4f118397b33ac915d3bef1b09db1..1e7452257b53260eff2ac69c34024f73cc3b579e 100755 --- a/pyfstat/core.py +++ b/pyfstat/core.py @@ -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") diff --git a/pyfstat/make_sfts.py b/pyfstat/make_sfts.py index 5e47b56c6f0a5c56e71697326303cf6307f483cb..c3a181221095668e9b5e426d5064bb65ab0c11d1 100644 --- a/pyfstat/make_sfts.py +++ b/pyfstat/make_sfts.py @@ -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