pastas.decorators.njit ====================== .. py:function:: pastas.decorators.njit(function: collections.abc.Callable | None = None, **kwargs) -> collections.abc.Callable Apply numba's njit to a function if numba is available. :param function: The function to decorate. :type function: callable, optional :param \*\*kwargs: Additional keyword arguments passed to numba.njit. :returns: The decorated function, or the original function if numba is not available. :rtype: callable .. !! processed by numpydoc !!