translation of point processes chapter and some tiny fixes elsewhere #1
@ -19,7 +19,7 @@ rd = np.corrcoef(x, y)[0, 1]
|
||||
# permutation:
|
||||
nperm = 1000
|
||||
rs = []
|
||||
for i in np.arange(nperm) :
|
||||
for i in range(nperm) :
|
||||
xr=rng.permutation(x)
|
||||
yr=rng.permutation(y)
|
||||
rs.append( np.corrcoef(xr, yr)[0, 1] )
|
||||
|
Reference in New Issue
Block a user