pastas.rfunc.HantushWellModel.block_from_impulse#

pastas.rfunc.HantushWellModel.block_from_impulse(p: pastas.typing.ArrayLike, dt: float = 1, cutoff: float | None = None, maxtmax: float | None = None, **kwargs) pastas.typing.ArrayLike#

Method to return the block function from the impulse response.

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

  • dt (float) – Time step in days.

  • cutoff (float, optional) – Fraction of the step response used to determine the response cutoff. Defaults to self.cutoff if cutoff is None.

  • maxtmax (float, optional) – Maximum response time to compute. Not used if None, else, the used tmax is the minimum of the tmax determined from the cutoff and maxtmax.

Returns:

Block response values.

Return type:

array_like