diff --git a/lib/matplotlib/mlab.py b/lib/matplotlib/mlab.py index 194420816175..5eaa51a312f0 100644 --- a/lib/matplotlib/mlab.py +++ b/lib/matplotlib/mlab.py @@ -1344,7 +1344,7 @@ def cohere(x, y, NFFT=256, Fs=2, detrend=detrend_none, window=window_hanning, scale_by_freq) Pxy, f = csd(x, y, NFFT, Fs, detrend, window, noverlap, pad_to, sides, scale_by_freq) - Cxy = np.abs(Pxy) ** 2 / (Pxx * Pxy) + Cxy = np.abs(Pxy) ** 2 / (Pxx * Pyy) return Cxy, f
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: