bilby.core.likelihood.ZeroLikelihood

class bilby.core.likelihood.ZeroLikelihood(likelihood)[source]

Bases: Likelihood

A special test-only class which already returns zero likelihood

Parameters:
likelihood: bilby.core.likelihood.Likelihood

A likelihood object to mimic

__init__(likelihood)[source]

Empty likelihood class to be subclassed by other likelihoods

Parameters:
parameters: dict

A dictionary of the parameter names and associated values

__call__(*args, **kwargs)

Call self as a function.

Methods

__init__(likelihood)

Empty likelihood class to be subclassed by other likelihoods

log_likelihood()

Returns:

log_likelihood_ratio()

Difference between log likelihood and noise log likelihood

noise_log_likelihood()

Returns:

Attributes

marginalized_parameters

meta_data

log_likelihood()[source]
Returns:
float
log_likelihood_ratio()[source]

Difference between log likelihood and noise log likelihood

Returns:
float
noise_log_likelihood()[source]
Returns:
float