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 ...
- mixed_model
mixed model object from Taweret model mixing class
- Type
object
- parameters
dictionary with name of each parameter to be given to Bilby. all parameters have the prefix theta_ and then the parameter number. ex : for liklihood with three free parameters ; theta_0, theta_1, theta_2 Parameters are order as [mixture function parameters, model 1 parameters, model 2 parameters]
- Type
dic
- log_likelihood(self)[source]
calculates the log likelihood for the parameter values specefied in the wrapper object.
Empty likelihood class to be subclassed by other likelihoods
- Parameters
parameters (dict) -- A dictionary of the parameter names and associated values