Found one more instance of the same warning in functions.py

This commit is contained in:
dschoni 2019-05-02 17:33:00 +02:00
parent 42fd5614d0
commit 7f93e8205f
1 changed files with 1 additions and 1 deletions

View File

@ -1380,7 +1380,7 @@ def gaussianFilter(data, sigma):
# clip off extra data
sl = [slice(None)] * data.ndim
sl[ax] = slice(filtered.shape[ax]-data.shape[ax],None,None)
filtered = filtered[sl]
filtered = filtered[tuple(sl)]
return filtered + baseline