Skip to content

Commit 7b8eb57

Browse files
bhadreshpsavaniCloudyPadmal
authored andcommitted
type-error-resolved (fossasia#109)
1 parent f123847 commit 7b8eb57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PSL/analyticsClass.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ def fft(self, ya, si):
242242
v = np.array(ya)
243243
tr = abs(np.fft.fft(v)) / ns
244244
frq = np.fft.fftfreq(ns, si)
245-
x = frq.reshape(2, ns / 2)
246-
y = tr.reshape(2, ns / 2)
245+
x = frq.reshape(2, ns // 2)
246+
y = tr.reshape(2, ns // 2)
247247
return x[0], y[0]
248248

249249
def sineFitAndDisplay(self, chan, displayObject):

0 commit comments

Comments
 (0)
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