Skip to content

Commit c7802ba

Browse files
author
mb3152
committed
cleaned up nodal_roles
1 parent 3c75e4a commit c7802ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

brainx/nodal_roles.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ def within_community_degree(weighted_partition):
3232
partition.degree_within_community(node)
3333
all_community_degree.append()
3434
all_community_degrees[node_community] = all_community_degree
35+
# I don't know if it's faster to compute this on the fly every
36+
# time or store the results in a dictionary?
3537
std = np.std(all_community_degree) # std of community's degrees
3638
mean = np.mean(all_community_degree) # mean of community's degrees
3739
# z-score

0 commit comments

Comments
 (0)