class Spline(up=True, gain_scale_factor=1.0, cutoff=0.999, kind='quadratic', t=None, **kwargs)[source]#

Spline response function with parameters: A and a factor for every t.

  • up (bool or None, optional) – indicates whether a positive stress will cause the head to go up (True, default) or down (False), if None 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. default is 0.999. this parameter has no influence for this response function.

  • kind (string, optional) – see scipy.interpolate.interp1d. Most useful for a smooth response function are ‘quadratic’ and ‘cubic’.

  • t (list, optional) – times at which the response function is defined.


The spline response function generates a response function from factors at t = 1, 2, 4, 8, 16, 32, 64, 128, 256, 512 and 1024 days by default. This response function is more data-driven than existing response functions and has no physical background. Therefore, it can primarily be used to compare to other more physical response functions, that probably describe the groundwater system better.




Method to return the block function.



Get initial parameters and bounds.


Internal method to determine the times at which to evaluate the step response, from t=0.


Method to get the response time for a certain cutoff.


Method to return the impulse response function.


Method to return the step function.


Method to export the response function to a dictionary.