Skip to content

Commit 0ee138c

Browse files
committed
Use numpy function instead of deprecated MPL function
1 parent 542f4b1 commit 0ee138c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nitime/algorithms/cohere.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ def cache_fft(time_series, ij, lb=0, ub=None,
975975

976976
n_freqs = ub_idx - lb_idx
977977
# Make the window:
978-
if mlab.cbook.iterable(window):
978+
if np.iterable(window):
979979
assert(len(window) == NFFT)
980980
window_vals = window
981981
else:

0 commit comments

Comments
 (0)