# wradlib.classify.classify¶

wradlib.classify.classify(data, threshold=0.0)

Calculate probability of hmc-class for every data bin.

Parameters: Keyword Arguments: data (np.ndarray) – Array which is of size (hmc-class, data.shape), containing the weighted hmc-membership probability values. threshold (float) – Threshold value where probability is considered no precip, defaults to 0 idx (np.ndarray) – Array which is of (data.shape) containing the (sorted) index into the hydrometeor-class. No precip is added on the top. vals (np.ndarray) – Array which is of (data.shape) containing the (sorted) probability scores. No precip is added on the top.