pastas.stressmodels.RechargeModel.update_stress#

pastas.stressmodels.RechargeModel.update_stress(tmin: pandas.Timestamp | str | None = None, tmax: pandas.Timestamp | str | None = None, freq: str | None = None) None#

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

Parameters:
  • freq (str, optional) – String representing the desired frequency of the time series. Must be one of the following: (D, h, m, s, ms, us, ns) or a multiple of that e.g. “7D”.

  • tmin (pandas.Timestamp or str, optional) – A string or pandas.Timestamp with the minimum time of the series (E.g. ‘1980-01-01 00:00:00’).

  • tmax (pandas.Timestamp or str, optional) –

    A string or pandas.Timestamp with the maximum time of the series (E.g. ‘2020-01-01 00:00:00’). Strings are converted to

    pandas.Timestamp internally.

Notes

For the individual options for the different settings please refer to the docstring from the TimeSeries.update_series() method.

See also

ps.timeseries.TimeSeries.update_series