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

pastas.solver.EmceeSolve.log_prior#

EmceeSolve.log_prior(p)[source]#

Probability of parameter set given the priors.

Parameters

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

Returns

lp – Probability of parameter set given the priors

Return type

float

Notes

Two cases exist:

  • If any of the parameters touch the boundary, -np.inf is returned. This basically tells the algorithm that the parameter set is very unlikely.

  • Otherwise, the probability of each parameter given its prior is computed.