You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
""" Function which formats matrix for a particular subject and particular block (thresholds, upper-tris it) so that we can make a graph object out of it
71
+
""" Function which formats matrix for a particular subject and
72
+
particular block (thresholds, upper-tris it) so that we can
73
+
make a graph object out of it
72
74
73
75
Parameters
74
76
----------
@@ -169,9 +171,6 @@ def cost_size(nnodes):
169
171
edges_short=tot_edges/2
170
172
returncosts, tot_edges, edges_short
171
173
172
-
deftest_warning():
173
-
"""simple code to raise a warning"""
174
-
warnings.warn('This is your warning')
175
174
176
175
defmake_cost_array(n_nodes, cost=0.5):
177
176
"""Make cost array of length cost * (the number of possible edges).
@@ -1003,7 +1002,7 @@ def tril_indices(n,k=0):
1003
1002
- triu_indices : similar function, for upper-triangular.
1004
1003
- mask_indices : generic function accepting an arbitrary mask function.
0 commit comments