pastas.rfunc.One.step#
- pastas.rfunc.One.step(p: pastas.typing.ArrayLike, dt: float = 1.0, cutoff: float | None = None, maxtmax: float | None = None, **kwargs) pastas.typing.ArrayLike#
Method to return the step function.
- 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.
kwargs (dict) – Additional keyword arguments passed to
get_tor used for specific response functions.
- Returns:
s – Array with the step response.
- Return type:
array_like