pastas.stats.core.moment#

pastas.stats.core.moment(x: pandas.Series, order: int) float#

Compute the raw moment of an impulse response array.

Parameters:
  • x (Series) – Impulse response values with a numeric index (float or int) representing time steps. A DatetimeIndex is not supported.

  • order (int) – The order of the moment to compute (0 through 5).

Returns:

moment – The computed raw moment of the impulse response.

Return type:

float