Taweret.sampler namespace

Submodules

class Taweret.sampler.likelihood_wrappers.likelihood_wrapper_for_bilby(mixed_model, x_exp, y_exp, y_err)[source]

Bases: Likelihood

Likelihood wrapper for Bilby calibrator ...

Attributes:

mixed_modelobject

mixed model object from Taweret model mixing class

x_exparray

The independent variables for the experimental data.

y_exparray

The dependent variables for the data.

y_errarray

The error bands on the data.

Methods:

log_likelihood(self)

calculates the log likelihood for the parameter values specified in the wrapper object.

log_likelihood(parameters=None)[source]

The log likelihood function that can be used with Bilby.

Parameters:

None.

Returns:

The scalar log likelihood value.