The default behavior for adding and solving with noisemodels has changed from Pastas 1.5. Find more information here

pastas.solver.EmceeSolve.log_likelihood#

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

Log-likelihood function.

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

  • noise (bool) –

  • weights (Optional[Series]) –

  • callback (Optional[CallBack]) –

Returns

lnlike – The log-likelihood for the parameters.

Return type

float

Notes

This method is always called by emcee.