From 4b38848141d1d561e2987b39279be9617596c052 Mon Sep 17 00:00:00 2001
From: Colm Talbot <colm.talbot@ligo.org>
Date: Tue, 22 May 2018 15:13:29 +1000
Subject: [PATCH] remove excess lines in likelihood

---
 tupak/likelihood.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tupak/likelihood.py b/tupak/likelihood.py
index 1ce7a78a7..382c1aea8 100644
--- a/tupak/likelihood.py
+++ b/tupak/likelihood.py
@@ -104,12 +104,6 @@ class GravitationalWaveTransient(Likelihood):
             optimal_snr_squared += tupak.utils.optimal_snr_squared(
                 signal_ifo, interferometer, self.waveform_generator.time_duration)
 
-        if self.phase_marginalization:
-            matched_filter_snr_squared = self.bessel_function_interped(abs(matched_filter_snr_squared))
-
-        else:
-            matched_filter_snr_squared = matched_filter_snr_squared.real
-
         if self.distance_marginalization:
 
             optimal_snr_squared_array = optimal_snr_squared \
-- 
GitLab