pastas.rfunc.HantushWellModel.moment#
- pastas.rfunc.HantushWellModel.moment(p: pastas.typing.ArrayLike, order: int, method: Literal['discrete', 'exact'] = 'discrete', dt: float = 1.0) float#
Calculate the moment of a certain order for the HantushWellModel response function.
- Parameters:
p (array_like) – Response function parameters [A, a, b] or [A, a, b, distance].
order (int) – Order of the moment to calculate.
method (str, optional) – Method to use: ‘discrete’ or ‘exact’. Default is ‘discrete’. Note: Only ‘discrete’ is supported for HantushWellModel.
dt (float, optional) – Time step in days. Default is 1.0.
- Returns:
moment – Moment of the specified order.
- Return type:
- Raises:
ValueError – If method is not ‘discrete’.