Commit 699bceab authored by Bedartha Goswami's avatar Bedartha Goswami
Browse files

remove link density from community strength function

parent 2662b837
......@@ -6,7 +6,7 @@ A suite of functions that assist in carrying out the event-detection analysis
"""
# Created: Thu May 26, 2016 03:50PM
# Last modified: Wed Jan 10, 2018 12:42AM
# Last modified: Thu Jan 11, 2018 02:26PM
# Copyright: Bedartha Goswami <goswami@pik-potsdam.de>
import numpy as np
......@@ -71,7 +71,7 @@ def __divide_at_midpoint(G):
return G1, G2
def community_strength_data(G, time, ld, wsize, wstep,
def community_strength_data(G, time, wsize, wstep,
verbose=False, pbar=False):
"""
Saves intra-community link fraction for specified data set.
......@@ -98,7 +98,7 @@ def community_strength_data(G, time, ld, wsize, wstep,
return Q, tmid
def community_strength_random_model(G, time, ld, wsize, wstep, nsurr,
def community_strength_random_model(G, time, wsize, wstep, nsurr,
verbose=False, pbar=False):
"""
Saves intra-community link fraction for surrogates of specified data set.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment