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

Constant#

class Constant(name='constant', initial=0.0)[source]#

A constant value that is added to the time series model.

Parameters
  • name (str, optional) – Name of the stressmodel.

  • initial (float, optional) – Initial estimate of the parameter value. For example, the minimum of the observed series.

Attributes#

nparam

Methods#

__init__

get_nsplit

Determine in how many time series the contribution can be split.

get_parameters

Get parameters and return as array.

get_settings

Method to obtain the settings of the stresses.

get_stress

Returns the stress(es) of the time series object as a pandas DataFrame.

set_init_parameters

Set the initial parameters (back) to their default values.

simulate

to_dict

Method to export the StressModel object.

update_stress

Method to update the settings of the all stresses in the stress model.