wradlib.classify.trapezoid¶
-
wradlib.classify.
trapezoid
(msf, obs)¶ Calculates membership of obs using trapezoidal membership functions
Parameters: - msf (
numpy.ndarray
) – Array which is of size (obs.shape, 4), containing the trapezoidal membership function values for every obs point for one particular hydrometeor class. - obs (
numpy.ndarray
) – Array of arbitrary size and dimensions containing the data from which the membership shall be calculated.
Returns: out (
numpy.ndarray
) – Array which is of (obs.shape) containing calculated membership probabilities.- msf (