enstools.scores.pearson_correlation¶
- enstools.scores.pearson_correlation(reference: DataArray, target: DataArray) DataArray¶
Compute the Pearson’s correlation. Uses implementation from scipy.
- Parameters:
- referencexarray.DataArray
- targetxarray.DataArray
- Returns:
- pearson_correlation: xarray.DataArray
A data array with the time-series of the pearson correlation