pastas.solver.LeastSquares.get_parameter_sample#

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

Method to obtain a parameter sets for monte carlo analyses.

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

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

  • 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

Numpy array with N parameter samples.

Return type

numpy.ndarray