clive3 / pearsonrMultiDimensional

performs pearson correlation on multi-dimensional numpy arrays

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pearsonrMultiDimensional

performs pearson correlation on multi-dimensional numpy arrays

please note that this function correlates a 1D numpy array with the first dimension of a multi-dimensional array with the np.mean of the remiaining dimensions

please use the example file to show the working if you are unsure

NB the size of the 1D array has to be exactly the same size as the first dimension of the multi-dimension array

About

performs pearson correlation on multi-dimensional numpy arrays


Languages

Language:Python 100.0%