From c515aad86e9ea8230ad27dcf10bd1779b665150b Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Thu, 14 Dec 2017 15:03:13 -0800 Subject: [PATCH] Backport PR #10004: Fixed critical typo in mlab.cohere --- lib/matplotlib/mlab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy