- pysteps.postprocessing.probmatching.nonparam_match_empirical_cdf(initial_array, target_array)#
Matches the empirical CDF of the initial array with the empirical CDF of a target array. Initial ranks are conserved, but empirical distribution matches the target one. Zero-pixels (i.e. pixels having the minimum value) in the initial array are conserved.
initial_array (array_like) – The initial array whose CDF is to be matched with the target.
target_array (array_like) – The target array.
output_array – The matched array of the same shape as the initial array.
- Return type