Skip to content
Snippets Groups Projects
Commit 046c95fb authored by Colm Talbot's avatar Colm Talbot
Browse files

DOCS: fix relative binning docstring

parent 73599ae3
No related branches found
No related tags found
1 merge request!1105Relative Binning in bilby
......@@ -620,7 +620,6 @@ class GravitationalWaveTransient(Likelihood):
signal_polarizations=waveform_polarizations,
interferometer=interferometer,
)
signal = ifo.get_detector_response(
signal_long[:ifo_length] = signal
data[:ifo_length] = np.conj(ifo.frequency_domain_strain)
psd[:ifo_length][mask] = ifo.power_spectral_density_array[mask]
......@@ -709,6 +708,21 @@ class GravitationalWaveTransient(Likelihood):
return d_inner_h, h_inner_h
def _compute_full_waveform(self, signal_polarizations, interferometer):
"""
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.
"""
"""
Project the waveform polarizations against the interferometer
response. This is useful for likelihood classes that don't
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment