We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d1af63 commit 9722092Copy full SHA for 9722092
brainx/util.py
@@ -66,7 +66,7 @@ def format_matrix(data, s, b, lk, co, idc=[], costlist=[],
66
if True return boolean mask, otherwise returns thesholded
67
weight matrix
68
"""
69
- cmat = slice_data(data, b,s)
+ cmat = slice_data(data, s, b)
70
th = cost2thresh(co,s,b,lk,idc,costlist) #get the right threshold
71
cmat = thresholded_arr(cmat,th,fill_val=0)
72
if not nouptri:
0 commit comments