The default behavior for adding and solving with noisemodels has changed from Pastas 1.5. Find more information here

pastas.model.Model.get_response_tmax#

Model.get_response_tmax(name, p=None, cutoff=0.999, warn=True)[source]#

Method to get the tmax used for the response function.

Parameters
  • name (str) – A string with the name of the stressmodel.

  • p (array_like, optional) – An array_like object with the values as floats representing the model parameters. See Model.get_parameters() for more info if parameters is None.

  • cutoff (float, optional) – A float between 0 and 1. Default is 0.999 or 99.9% of the response.

  • warn (bool) –

Returns

tmax – A float with the number of days. None is return if stressmodels has no response function.

Return type

float or None

Examples

>>> ml.get_response_tmax("recharge", cutoff=0.99)
>>> 703

This means that after 703 days, 99% of the response of the groundwater levels to a recharge pulse has taken place.