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

pastas.stressmodels.StressModelBase.get_parameters#

StressModelBase.get_parameters(model=None)[source]#

Get parameters and return as array.

Parameters
  • model (pastas.Model, optional) – If provided, and the model is solved, return optimal model parameter-values. Otherwise, return initial parameter-values.

  • istress (int, optional) – if provided, return specific parameter set, else return all parameters.

Returns

p – An array of the parameters of the stressmodel.

Return type

array_like