pyart.util.compute_corr#

pyart.util.compute_corr(vec1, vec2)[source]#

Computes the Pearson correlation coefficient between two arrays

Parameters:

vec1, vec2 (array of floats) – The vectors on which to compute the correlation coefficient

Returns:

corr (float or None) – The correlation coefficient