myimagelib.corrLib.distance_corr¶
- myimagelib.corrLib.distance_corr(X, Y, C)¶
Convert 2d correlation matrix into 1d.
- Parameters
X,Y – 2d coordinates, can be either 2d matrices or flattened matrices
C – correlation matrix, can be either 2d matrices or flattened matrices
- Returns
a DataFrame of [“R”, “C”].
Edit
- 12162021
check input dimension, if it’s 1, do not use flatten,
add doc string