From 36f40a68e1c7a8cf82a53e0a910eaa135d148716 Mon Sep 17 00:00:00 2001 From: Francisco Jimenez Forteza <francisco.jimenez@condor1.atlas.local> Date: Thu, 6 May 2021 16:20:54 +0000 Subject: [PATCH] rdown pe --- code_new/Sumit/rdown_pe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code_new/Sumit/rdown_pe.py b/code_new/Sumit/rdown_pe.py index 8405d0f..c92e073 100644 --- a/code_new/Sumit/rdown_pe.py +++ b/code_new/Sumit/rdown_pe.py @@ -65,7 +65,7 @@ class Ringdown_PE: sigma2 = self.errors2 + self.l_int*(self.datare** 2+self.dataim**2) * np.exp(2 * theta[-1]) - result = -0.5*np.sum(((self.datare - modelevre)**2+(self.dataim - modelevim)**2)/sigma2+self.l_int*(2*np.log(sigma2)))-self.l_int*self.norm_factor + result = -0.5*np.sum(((self.datare - modelevre)**2+(self.dataim - modelevim)**2)/sigma2+self.l_int*(np.log(2*np.pi*sigma2)))-self.l_int*self.norm_factor if np.isnan(result): return -np.inf -- GitLab