pastas.rfunc.HantushWellModel.gain# pastas.rfunc.HantushWellModel.gain(p: pastas.typing.ArrayLike, r: float | None = None) → float# Return the gain of the HantushWellModel response function. Parameters: p (array_like) – Response function parameters [A, a, b] or [A, a, b, distance]. r (float, optional) – Distance from the pumping well to the observation well. If None, it is extracted from the parameters. Default is None. Returns: gain – Gain of the response function. Return type: float