pastas.rfunc.One.block#
- One.block(p, dt=1.0, cutoff=None, maxtmax=None)[source]#
Method to return the block function.
- Parameters:
p (array_like) – array_like object with the values as floats representing the model parameters.
dt (float) – timestep as a multiple of one day.
cutoff (float, optional) – proportion after which the step function is cut off.
maxtmax (int, optional) – Maximum timestep to compute the block response for.
- Returns:
s – Array with the block response.
- Return type:
array_like