From b7f235d4c1c7c35eb34c306f0ee2795ed26276d8 Mon Sep 17 00:00:00 2001
From: Avi Vajpeyi <avi.vajpeyi@ligo.org>
Date: Thu, 7 Oct 2021 15:45:24 +0000
Subject: [PATCH] Resolve "Which frame are the injection parameters supposed to
 be in?"

---
 docs/transient-gw-data.txt | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/docs/transient-gw-data.txt b/docs/transient-gw-data.txt
index 78501e6d5..1fd041aca 100644
--- a/docs/transient-gw-data.txt
+++ b/docs/transient-gw-data.txt
@@ -91,6 +91,21 @@ You can also set the strain data without any noise at all
 Injecting a signal
 ------------------
 
-If you wish to inject a signal into the data, you can use this function
+If you wish to inject a signal into the data, you can use this function:
 
    >>> bilby.gw.detector.Interferometer.inject_signal
+
+To inject a signal a `bilby.gw.waveform_generator.WaveformGenerator` is required.
+This is where you must specify the injection's duration, start-time, waveform.
+Additionally, a `parameter_conversion` function can be passed. The default is :code:`parameter_conversion = bilby.gw.conversion.convert_to_lal_binary_black_hole_parameters`.
+This expects injection parameters to be provided in the detector-frame, e.g.
+
+.. code-block:: python
+
+    >>> parameters = dict(
+        mass_1=36., mass_2=29.,
+        a_1=0.4, a_2=0.3, tilt_1=0.5, tilt_2=1.0, phi_12=1.7, phi_jl=0.3,
+        luminosity_distance=2000., theta_jn=0.4, psi=2.659,
+        phase=1.3, geocent_time=1126259642.413, ra=1.375, dec=-1.2108
+        )
+
-- 
GitLab