pastas.model.Model.get_transform_contribution#

pastas.model.Model.get_transform_contribution(tmin: pandas.Timestamp | str | None = None, tmax: pandas.Timestamp | str | None = None) pandas.Series#

Method to get the contribution of a transform.

Parameters:
  • tmin (pandas.Timestamp or str, optional) – A string or pandas.Timestamp with the start date for the simulation period (E.g. ‘1980-01-01 00:00:00’). Strings are converted to pandas.Timestamp internally. If none is provided, the tmin from the oseries is used.

  • tmax (pandas.Timestamp or str, optional) – A string or pandas.Timestamp with the end date for the simulation period (E.g. ‘2020-01-01 00:00:00’). Strings are converted to pandas.Timestamp internally. If none is provided, the tmax from the oseries is used.

Returns:

contrib – Pandas Series with the contribution.

Return type:

pandas.Series