pastas.stressmodels.Constant#

class pastas.stressmodels.Constant(name: str = 'constant', initial: float = 0.0)#

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.

Methods#

set_init_parameters()

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

to_dict(**kwargs)

Method to export the StressModel object.