pastas.rfunc.One#

class pastas.rfunc.One(cutoff: float = 0.999, **kwargs)#

Instant response with no lag and one parameter d.

Parameters:
  • up (bool or None, optional) – indicates whether a positive stress will cause the head to go up (True) or down (False), if None (default) the head can go both ways.

  • gain_scale_factor (float, optional) – the scale factor is used to set the initial value and the bounds of the gain parameter, computed as 1 / gain_scale_factor.

  • cutoff (float, optional) – proportion after which the step function is cut off. Has no influence for this response function.

Methods#

get_init_parameters(→ pandas.DataFrame)

Get initial parameters and bounds. It is called by the stressmodel.

get_tmax(→ float)

Method to get the response time for a certain cutoff.

step(→ pastas.typing.ArrayLike)

Method to return the step function.

block(→ pastas.typing.ArrayLike)

Method to return the block function.

moment(→ float)

Compute the raw moment of the response function.