Pearson Correlation Coefficient

Hi there, I'd like to know if this is the method used to calculate the
average neighbhoor correlation
(http://graph-tool.skewed.de/static/doc/correlations.html#graph_tool.correlations.avg_neighbour_corr
). Or any correlation used by the module, in fact.

Thank you in advance!

http://graph-tool.skewed.de/static/doc/correlations.html#graph_tool.correlations.assortativity

or

    http://graph-tool.skewed.de/static/doc/correlations.html#graph_tool.correlations.scalar_assortativity

Cheers,
Tiago