pastas.check.stat_ufunc_threshold ================================= .. py:function:: pastas.check.stat_ufunc_threshold(ml: pastas.model.Model, ufunc: collections.abc.Callable, statistic: str, threshold: float) Generic function to compare a model statistic with a threshold using a ufunc. :param ml: Pastas model instance. :type ml: pastas.Model :param ufunc: Numpy ufunc (e.g. np.greater_than) to compare the model statistic with the threshold. :type ufunc: callable :param statistic: Name of the statistic to be compared. :type statistic: str :param threshold: Threshold value for the statistic. :type threshold: float :returns: **df** -- DataFrame with the results of the check. :rtype: pandas.DataFrame .. !! processed by numpydoc !!