Skip to content
Snippets Groups Projects
Commit eff47496 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Comments out obsolete peice of code

As far as I can tell this should not be here (transient=True) in this
case. Nevertheless, I'm leaving it commented as this is quite a core
routine and I wish to remind myself to investigate it further.
parent e06f54ea
No related branches found
No related tags found
No related merge requests found
......@@ -562,16 +562,15 @@ class SemiCoherentSearch(BaseSearchClass, ComputeFstat):
self.whatToCompute
)
if self.transient is False:
if self.BSGL is False:
return self.FstatResults.twoF[0]
twoF = np.float(self.FstatResults.twoF[0])
self.twoFX[0] = self.FstatResults.twoFPerDet(0)
self.twoFX[1] = self.FstatResults.twoFPerDet(1)
log10_BSGL = lalpulsar.ComputeBSGL(twoF, self.twoFX,
self.BSGLSetup)
return log10_BSGL/np.log10(np.exp(1))
#if self.transient is False:
# if self.BSGL is False:
# return self.FstatResults.twoF[0]
# twoF = np.float(self.FstatResults.twoF[0])
# self.twoFX[0] = self.FstatResults.twoFPerDet(0)
# self.twoFX[1] = self.FstatResults.twoFPerDet(1)
# log10_BSGL = lalpulsar.ComputeBSGL(twoF, self.twoFX,
# self.BSGLSetup)
# return log10_BSGL/np.log10(np.exp(1))
detStat = 0
for tstart, tend in zip(self.tboundaries[:-1], self.tboundaries[1:]):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment