pastas.solver.LmfitSolve.get_parameter_sample#

LmfitSolve.get_parameter_sample(name=None, n=None, max_iter=10)#

Method to obtain a parameter sets for monte carlo analyses.

Parameters
  • name (str, optional) – Name of the stressmodel or model component to obtain the parameters for.

  • n (int, optional) – Number of random samples drawn from the bivariate normal distribution.

  • max_iter (int, optional) – maximum number of iterations for truncated multivariate sampling, default is 10. Increase this value if number of accepted parameter samples is lower than n.

Returns

array with N parameter samples.

Return type

array_like