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

Removes erroneous - in BSGL floor calculation

parent f89133bf
No related branches found
No related tags found
No related merge requests found
...@@ -368,8 +368,8 @@ class ComputeFstat(object): ...@@ -368,8 +368,8 @@ class ComputeFstat(object):
self.twoFX[1] = self.FstatResults.twoFPerDet(1) self.twoFX[1] = self.FstatResults.twoFPerDet(1)
BSGL = lalpulsar.ComputeBSGL(twoF, self.twoFX, BSGL = lalpulsar.ComputeBSGL(twoF, self.twoFX,
self.BSGLSetup) self.BSGLSetup)
if self.BSGL_FLOOR and BSGL < self.BSGL_FLOOR: if self.BSGL_FLOOR is not None and BSGL < self.BSGL_FLOOR:
return -self.BSGL_FLOOR return self.BSGL_FLOOR
else: else:
return self.BSGL_PREFACTOR * BSGL/np.log10(np.exp(1)) return self.BSGL_PREFACTOR * BSGL/np.log10(np.exp(1))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment