pastas.decorators.set_parameter =============================== .. py:function:: pastas.decorators.set_parameter(function: collections.abc.Callable) -> collections.abc.Callable Validate and set parameter values. This decorator checks if the parameter name exists in the parameters DataFrame before calling the wrapped function. :param function: The function to wrap. :type function: Callable :returns: The wrapped function with parameter validation. :rtype: Callable .. !! processed by numpydoc !!