diff --git a/PSL/analyticsClass.py b/PSL/analyticsClass.py index eb91de39..585ce133 100644 --- a/PSL/analyticsClass.py +++ b/PSL/analyticsClass.py @@ -242,8 +242,8 @@ def fft(self, ya, si): v = np.array(ya) tr = abs(np.fft.fft(v)) / ns frq = np.fft.fftfreq(ns, si) - x = frq.reshape(2, ns / 2) - y = tr.reshape(2, ns / 2) + x = frq.reshape(2, ns // 2) + y = tr.reshape(2, ns // 2) return x[0], y[0] def sineFitAndDisplay(self, chan, displayObject):
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: