pastas.solver.least_squares.LeastSquaresBase.get_parameter_sample ================================================================= .. py:method:: pastas.solver.least_squares.LeastSquaresBase.get_parameter_sample(name: str | None = None, n: int | None = None, max_iter: int = 10) -> pastas.typing.ArrayLike Obtain a parameter sets for monte carlo analyses. :param name: Name of the stressmodel or model component to obtain the parameters for. :type name: str, optional :param n: Number of random samples drawn from the bivariate normal distribution. If None, the number of samples is determined by the number of parameters that are varied, using 10^k where k is the number of parameters that are varied. :type n: int, optional :param max_iter: maximum number of iterations for truncated multivariate sampling, default is 10. Increase this value if number of accepted parameter samples is lower than n. :type max_iter: int, optional :returns: array with N parameter samples. :rtype: array_like .. rubric:: Notes The parameter samples are drawn from a multivariate normal distribution, and thus assume that the a normal distribution applies for the parameter uncertainty. .. !! processed by numpydoc !!