Found one more instance of the same warning in functions.py
This commit is contained in:
parent
42fd5614d0
commit
7f93e8205f
@ -1380,7 +1380,7 @@ def gaussianFilter(data, sigma):
|
|||||||
# clip off extra data
|
# clip off extra data
|
||||||
sl = [slice(None)] * data.ndim
|
sl = [slice(None)] * data.ndim
|
||||||
sl[ax] = slice(filtered.shape[ax]-data.shape[ax],None,None)
|
sl[ax] = slice(filtered.shape[ax]-data.shape[ax],None,None)
|
||||||
filtered = filtered[sl]
|
filtered = filtered[tuple(sl)]
|
||||||
return filtered + baseline
|
return filtered + baseline
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user