wradlib.classify.trapezoid(msf, obs)[source]#

Calculates membership of obs using trapezoidal membership functions

  • 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.


out (numpy.ndarray) – Array which is of (obs.shape) containing calculated membership probabilities.