- wradlib.classify.trapezoid(msf, obs)¶
Calculates membership of obs using trapezoidal membership functions
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.
numpy.ndarray) – Array of arbitrary size and dimensions containing the data from which the membership shall be calculated.
numpy.ndarray) – Array which is of (obs.shape) containing calculated membership probabilities.