Skip to content

Commit

Permalink
fix: np.float -> np.float32
Browse files Browse the repository at this point in the history
  • Loading branch information
GuenterQuast committed Jul 4, 2023
1 parent c633a41 commit 76cfd39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/smoothCSV.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
usage:
./plotCSV.py [options] <input file name>
./smoothCSV.py [options] <input file name>
Input:
Expand Down Expand Up @@ -93,7 +93,7 @@ def wexit(code):
nav = nW # window width
nr = nW # resampling factor
x = resample(rawdata[0], n=nr) if downsample else rawdata[0]
data = np.zeros((nColumns, len(x)), dtype=np.float)
data = np.zeros((nColumns, len(x)), dtype=np.float32)
data[0]= x
for i in range(1, nColumns):
d= meanFilter(rawdata[i], width=nav)
Expand Down

0 comments on commit 76cfd39

Please sign in to comment.