brainconn.reference.makeringlatticeCIJ¶
-
makeringlatticeCIJ(n, k)[source]¶ This function generates a directed lattice network with toroidal boundary counditions (i.e. with ring-like “wrapping around”).
Parameters: Returns: CIJ – connection matrix
Return type: NxN
numpy.ndarrayNotes
The lattice is made by placing connections as close as possible to the main diagonal, with wrapping around. No connections are made on the main diagonal. In/Outdegree is kept approx. constant at K/N.