brainpy.connect.One2One#

class brainpy.connect.One2One[source]#

Connect two neuron groups one by one. This means The two neuron groups should have the same size.

__init__()[source]#

Methods

__init__()

build_conn()

build connections with certain data type.

build_coo()

Build a coo sparse connection data.

build_csr()

Build a csr sparse connection data.

build_mat([pre_size, post_size])

Build a binary matrix connection data.

require(*structures)

Require all the connection data needed.

requires(*structures)

Require all the connection data needed.

Attributes

is_version2_style