pastas.rfunc.Polder.moment#

pastas.rfunc.Polder.moment(p: pastas.typing.ArrayLike, order: int, method: Literal['discrete', 'exact'] = 'discrete', dt: float = 1.0) float#

Compute the raw moment of the response function.

Parameters:
  • p (array_like) – Response function parameters.

  • order (int) – Order of the moment to compute.

  • method ({'discrete', 'exact'}, optional) – Method used to compute the moment. “discrete” uses the discrete block response, while “exact” uses an analytical expression when available. Default is “discrete”.

  • dt (float, optional) – Time step in days. Default is 1.0.