Fixing coherence calculation
Found a bug that was impacting the coherence calculation when CSDs are estimated via welch-averaging. Also, fixed the normalisations for the expected coherence:
-
spectral.py
: fixed bug in welch calculation. -
statistical_checks.py
: fixed n_segs in init.