combined_log_prob

breads.fit.combined_log_prob(nonlin_paras, dataobjlist, fm_funclist, fm_paraslist, nonlin_lnprior_func=None, bounds=None)[source]

For use when you have multiple data objects and want to combine the log-likelihoods for MCMC sampling

Parameters:
nonlin_paraslist of floats

[p1,p2,…] List of non-linear parameters such as rv, y, x. The meaning and number of non-linear parameters depends on the forward model defined.

dataobjlist: A list of data objects to combine
fm_funclist: A list of fm_func for each data object
fm_paraslist: A list of fm_paras to use as arguments for it’s respective fm_func
nonlin_lnprior_func: A function to compute priors, if None, defaults to zero priors
Returns: