The default behavior for adding and solving with noisemodels has changed from Pastas 1.5. Find more information here

pastas.stressmodels.Constant.update_stress#

Constant.update_stress(tmin=None, tmax=None, freq=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 (str or pandas.Timestamp, optional) – String that can be converted to, or a Pandas Timestamp with the minimum time of the series.

  • tmax (str or pandas.Timestamp, optional) – String that can be converted to, or a Pandas Timestamp with the maximum time of the series.

Return type

None

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