chaosmagpy.model_utils.degree_correlation

chaosmagpy.model_utils.degree_correlation(coeffs_1, coeffs_2)[source]

Correlation per spherical harmonic degree between two models 1 and 2.

Parameters:
coeffs_1, coeffs_2ndarray, shape (N,)

Two sets of coefficients of equal length N.

Returns:
C_nndarray, shape (nmax,)

Degree correlation of the two models. There are N = nmax(nmax+2) coefficients.