brainconn.reference.maketoeplitzCIJ

maketoeplitzCIJ(n, k, s)[source]

This function generates a directed network with a Gaussian drop-off in edge density with increasing distance from the main diagonal. There are toroidal boundary counditions (i.e. no ring-like “wrapping around”).

Parameters:
  • N (int) – number of vertices
  • K (int) – number of edges
  • s (float) – standard deviation of toeplitz
Returns:

CIJ – connection matrix

Return type:

NxN numpy.ndarray

Notes

no connections are placed on the main diagonal.