pastas.rfunc.FourParam.moment#
- pastas.rfunc.FourParam.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 FourParam response function.
- Parameters:
- Returns:
moment – Moment of the specified order.
- Return type:
- Raises:
ValueError – If method is not ‘discrete’ or ‘exact’.