wradlib.classify.probability#

wradlib.classify.probability(data, weights)[source]#
wradlib.classify.probability(data: DataArray, weights)

Calculate probability of hmc-class for every data bin.

Parameters
  • data (numpy.ndarray) – Array which is of size (hmc-class, obs, data.shape), containing the membership probability values.

  • weights (numpy.ndarray) – Array of length (observables) containing the weights for each observable.

Returns

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