pastas.stats.signatures.baselevel_index#

baselevel_index(series, normalize=True, period='30D')[source]#

Base level index (BLI) adapted after Organization [2008].

Parameters
  • series (pandas.Series) – Pandas Series with DatetimeIndex and head values.

  • normalize (bool, optional) – normalize the time series to values between zero and one.

  • period (str, optional) – Period to resample the time series to in days (e.g., ‘10D’ or ‘90D’). Default is 30 days.

Returns

Base level index.

Return type

float

Notes

Adapted analogously to its application in streamflow. Here, a baselevel time series is separated from a X-day minimum head in a moving window. BLI equals the total sum of heads of original time series divided by the total sum of heads from the baselevel time series. Both these time series are resampled to daily heads by interpolation for consistency.