pcarpet.pearsonr_2d

pcarpet.pearsonr_2d(A, B)

Calculates row-wise Pearson’s correlation between 2 2d-arrays

Parameters
A2d-array

shape N x T

B2d-array

shape M x T

Returns
R2d-array

N x M shaped correlation matrix between all row combinations of A and B