brainconn.similarity.corr_flat_dir

corr_flat_dir(a1, a2)[source]

Returns the correlation coefficient between two flattened adjacency matrices. Similarity metric for weighted matrices.

Parameters:
Returns:

r – Correlation coefficient describing edgewise similarity of a1 and a2

Return type:

float