pastas.solver.EmceeSolve.log_probability#
- pastas.solver.EmceeSolve.log_probability(p: pastas.typing.ArrayLike, noise: bool | None = False, weights: pandas.Series | None = None, callback: pastas.typing.CallBack | None = None) float#
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: