From 75d8e8d9f74a99d9f82dc1288ef4bf2281f5c903 Mon Sep 17 00:00:00 2001 From: Scott Lawson Date: Thu, 5 Jan 2017 00:13:39 -0800 Subject: [PATCH] Typo --- python/visualization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/visualization.py b/python/visualization.py index 45055e3..d0062b0 100644 --- a/python/visualization.py +++ b/python/visualization.py @@ -141,7 +141,7 @@ def visualize_spectrum(y): global _prev_spectrum y = np.copy(interpolate(y, config.N_PIXELS // 2)) common_mode.update(gaussian_filter1d(y, sigma=2.0)) - diff = y - prev_spectrum + diff = y - _prev_spectrum _prev_spectrum = np.copy(y) r = gaussian_filter1d(y, sigma=0.5) - common_mode.value # g = gaussian_filter1d(y, sigma=0.5) - common_mode.value