From 8c6a0d7b55603a21672cd2ae9cec758d4e2ddae0 Mon Sep 17 00:00:00 2001
From: Colm Talbot <talbotcolm@gmail.com>
Date: Thu, 17 Nov 2022 08:41:46 -0500
Subject: [PATCH] TYPOFIX: typofixes from gitlab direct commits

---
 bilby/gw/likelihood/base.py | 20 +++-----------------
 1 file changed, 3 insertions(+), 17 deletions(-)

diff --git a/bilby/gw/likelihood/base.py b/bilby/gw/likelihood/base.py
index 77d7ea909..53621643b 100644
--- a/bilby/gw/likelihood/base.py
+++ b/bilby/gw/likelihood/base.py
@@ -617,8 +617,8 @@ class GravitationalWaveTransient(Likelihood):
             ifo_length = len(ifo.frequency_domain_strain)
             mask = ifo.frequency_mask
             signal = self._compute_full_waveform(
-                signal_polarizations=waveform_polarizations,
-                interferometer=interferometer,
+                signal_polarizations=signal_polarizations,
+                interferometer=ifo,
             )
             signal_long[:ifo_length] = signal
             data[:ifo_length] = np.conj(ifo.frequency_domain_strain)
@@ -722,21 +722,7 @@ class GravitationalWaveTransient(Likelihood):
         interferometer: bilby.gw.detector.Interferometer
             Interferometer to compute the response with respect to.
         """
-
-    """
-    Project the waveform polarizations against the interferometer
-    response. This is useful for likelihood classes that don't
-    use the full frequency array, e.g., the relative binning
-    likelihood.
-
-    Parameters:
-    signal_polarizations: dict
-        Dictionary containing the waveform evaluated at
-        :code:`interferometer.frequency_array`.
-    interferometer: bilby.gw.detector.Interferometer
-        Interferometer to compute the response with respect to.
-    """
-    return interferometer.get_detector_response(signal_polarizations, self.parameters)
+        return interferometer.get_detector_response(signal_polarizations, self.parameters)
 
     def generate_phase_sample_from_marginalized_likelihood(
             self, signal_polarizations=None):
-- 
GitLab