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. E.g. The minimum of the observed series.

Attributes

nparam

Methods

__init__

Initialize self.

dump_stress

Method to dump all stresses in the stresses list.

get_nsplit

Determine in how many timeseries the contribution can be split.

get_stress

Returns the stress or stresses 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 individual TimeSeries.