Fitting Methods

Documentation of fitting methods to be added here.

breads.fit Module

Functions

fitfm(nonlin_paras, dataobj, fm_func, fm_paras)

Fit a forward model to data returning probabilities and best fit linear parameters.

log_prob(nonlin_paras, dataobj, fm_func, ...)

Wrapper to fit_fm() but only returns the log probability marginalized over the linear parameters.

combined_log_prob(nonlin_paras, dataobjlist, ...)

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

nlog_prob(nonlin_paras, dataobj, fm_func, ...)

Returns the negative of the log_prob() for minimization routines.