pastas.stressmodels.LinearTrend =============================== .. toctree:: :hidden: /api/pastas/stressmodels/LinearTrend.set_init_parameters /api/pastas/stressmodels/LinearTrend.simulate /api/pastas/stressmodels/LinearTrend.to_dict .. py:class:: pastas.stressmodels.LinearTrend(tstart: pandas.Timestamp | str | None = None, tend: pandas.Timestamp | str | None = None, name: str = 'trend', start: pandas.Timestamp | str | None = None, end: pandas.Timestamp | str | None = None) Stressmodel that simulates a linear trend. :param tstart: String with a date to start the trend (e.g., "2018-01-01"), will be transformed to an ordinal number internally. :type tstart: str or Timestamp :param tend: String with a date to end the trend (e.g., "2018-01-01"), will be transformed to an ordinal number internally. :type tend: str or Timestamp :param name: Name of the stressmodel. Default is "trend". :type name: str, optional .. rubric:: 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 or even impossible to estimate from the data. .. !! processed by numpydoc !! .. py:property:: stresses :type: tuple Return the stresses used by the stress model. .. !! processed by numpydoc !! .. py:property:: nsplit :type: int Determine in how many time series the contribution can be split. .. !! processed by numpydoc !! Methods ------- .. autoapisummary:: pastas.stressmodels.LinearTrend.set_init_parameters pastas.stressmodels.LinearTrend.simulate pastas.stressmodels.LinearTrend.to_dict