bilby.gw.likelihood.basic.BasicGravitationalWaveTransient

class bilby.gw.likelihood.basic.BasicGravitationalWaveTransient(interferometers, waveform_generator)[source]

Bases: Likelihood

__init__(interferometers, waveform_generator)[source]

A likelihood object, able to compute the likelihood of the data given some model parameters

The simplest frequency-domain gravitational wave transient likelihood. Does not include distance/phase marginalization.

Parameters:
interferometers: list

A list of bilby.gw.detector.Interferometer instances - contains the detector data and power spectral densities

waveform_generator: bilby.gw.waveform_generator.WaveformGenerator

An object which computes the frequency-domain strain of the signal, given some set of parameters

__call__(*args, **kwargs)

Call self as a function.

Methods

__init__(interferometers, waveform_generator)

A likelihood object, able to compute the likelihood of the data given some model parameters

log_likelihood()

Calculates the real part of log-likelihood value

log_likelihood_interferometer(...)

log_likelihood_ratio()

Difference between log likelihood and noise log likelihood

noise_log_likelihood()

Calculates the real part of noise log-likelihood

Attributes

marginalized_parameters

meta_data

log_likelihood()[source]

Calculates the real part of log-likelihood value

Returns:
float: The real part of the log likelihood
log_likelihood_interferometer(waveform_polarizations, interferometer)[source]
Parameters:
waveform_polarizations: dict

Dictionary containing the desired waveform polarization modes and the related strain

interferometer: bilby.gw.detector.Interferometer

The Interferometer object we want to have the log-likelihood for

Returns:
float: The real part of the log-likelihood for this interferometer
log_likelihood_ratio()[source]

Difference between log likelihood and noise log likelihood

Returns:
float
noise_log_likelihood()[source]

Calculates the real part of noise log-likelihood

Returns:
float: The real part of the noise log likelihood