Amplitude envelope correlation (AEC)

Hi

I have a question about the amplitude envelope correlation (AEC).
Is Pearson coefficient used for AEC?

Thanks

AEC is computed in bst_connectivity.m:


In a simplified way, the measure used for the correlation is something like:
sum((A - mean(A))/sqrt(sum(A - mean(A))^2) * (B - mean(B))/sqrt(sum(B - mean(B))^2))

Which is (I think) a Pearson's correlation coefficient:
image