pastas.solver.EmceeSolve.log_probability#

EmceeSolve.log_probability(p, noise=False, weights=None, callback=None)[source]#

Full log-probability called by Emcee.

Parameters
  • p (numpy.Array) – Numpy array with the parameters.

  • noise (bool, optional) – If True, the noise model is applied to the residuals.

  • weights (pandas.Series, optional) – Series with weights for the residuals.

  • callback (callable, optional) – Callback function that will be called after each iteration of the solver.

Returns

log_probability

Return type

float