pastas.decorators.model_tmin_tmax#
- pastas.decorators.model_tmin_tmax(function: collections.abc.Callable) collections.abc.Callable#
Use model tmin and tmax settings as default values.
This decorator uses the model’s tmin and tmax settings if they are not provided.
- Parameters:
function (Callable) – The function to wrap.
- Returns:
The wrapped function with default tmin/tmax from model settings.
- Return type:
Callable