LinearTrend¶
- class LinearTrend(start, end, name='trend')[source]¶
Stressmodel that simulates a linear trend.
- Parameters
start (str) – String with a date to start the trend (e.g., “2018-01-01”), will be transformed to an ordinal number internally.
end (str) – String with a date to end the trend (e.g., “2018-01-01”), will be transformed to an ordinal number internally.
name (str, optional) – String with the name of the stress model.
Notes
While possible, it is not recommended to vary the parameters for the start and end time of the linear trend. These parameters are usually hard to impossible to estimate from the data.
Attributes¶
|
Methods¶
Method to dump all stresses in the stresses list. |
|
Determine in how many timeseries the contribution can be split. |
|
Returns the stress or stresses of the time series object as a pandas DataFrame. |
|
Set the initial parameters for the stress model. |
|
Simulate the trend. |
|
Method to export the StressModel object. |
|
Method to update the settings of the individual TimeSeries. |