pastas.stressmodels.RechargeModel.get_stress#
- pastas.stressmodels.RechargeModel.get_stress(p: pastas.typing.ArrayLike | None = None, tmin: pandas.Timestamp | str | None = None, tmax: pandas.Timestamp | str | None = None, freq: str | None = None, istress: int | None = None, **kwargs) pandas.Series#
Method to obtain the recharge stress calculated by the model.
- Parameters:
p (array_like, optional) – array_like object with the values as floats representing the model parameters.
tmin (pandas.Timestamp or str, optional) – A string or pandas.Timestamp with the start date for the period (E.g. ‘1980-01-01 00:00:00’). Strings are converted to pandas.Timestamp internally.
tmax (pandas.Timestamp or str, optional) – A string or pandas.Timestamp with the end date for the period (E.g. ‘2020-01-01 00:00:00’). Strings are converted to pandas.Timestamp internally.
freq (string, optional)
istress (int, optional) – Return one of the stresses used for the recharge calculation. 0 for precipitation, 1 for evaporation and 2 for temperature.
kwargs
- Returns:
stress – When no istress is selected, this return the estimated recharge flux that is convolved with a response function on the simulate method.
- Return type: