pastas.model.Model.get_parameters#

pastas.model.Model.get_parameters(name: str | None = None) pastas.typing.ArrayLike#

Obtain the parameters needed for calculation.

This method is used by the simulation, residuals and the noise methods as well as other methods that need parameters values as arrays.

Parameters:

name (str, optional) – string with the name of the pastas.stressmodel object.

Returns:

p – NumPy array with the parameters used in the time series model.

Return type:

array_like