Revision 23c7ab1e timeAnalysis.py

View differences:

timeAnalysis.py
45 45
dfACF = pd.DataFrame()  # rows=Time-Lags, columns = nodes
46 46
print "Processing data..."
47 47
for node in nodes:
48
    print "Autocorr of node", node
48
    #print "Autocorr of node", node
49 49
    nodeACF = pd.DataFrame([dfn[node].autocorr(lag) for lag in range(lags)])
50 50
    dfACF = pd.concat([dfACF, nodeACF], axis=1)
51 51

  
......
129 129

  
130 130
X, Y, Z = [], [], []
131 131
for node in srtNodes:
132
    print "n:", node
132
    #print "n:", node
133 133
    for lag in range(lags):
134
        print "\tn:%d  lag:%d" % (node,lag)
134
        #print "\tn:%d  lag:%d" % (node,lag)
135 135
        #code.interact(local=dict(globals(), **locals()))
136 136
        X.append(lag)
137 137
        Y.append(node)

Also available in: Unified diff