wradlib.classify.fuzzyfi#

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

Iterate over all hmc-classes and retrieve memberships

Parameters:
  • msf (numpy.ndarray) – Array which is of size (hmc-class, obs.shape, 4), containing the trapezoidal membership function values for every obs point for every hydrometeor class.

  • obs (numpy.ndarray) – Array of arbitrary size and dimensions containing the data from which the memberships shall be calculated.

Returns:

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