brainpy.connect.FixedProb#

class brainpy.connect.FixedProb(prob, include_self=True, seed=None)[source]#

Connect the post-synaptic neurons with fixed probability.

Parameters
  • prob (float) – The conn probability.

  • include_self (bool) – Whether create (i, i) conn?

  • seed (optional, int) – Seed the random generator.

__init__(prob, include_self=True, seed=None)[source]#

Methods

__init__(prob[, include_self, seed])

build_conn()

build connections with certain data type.

check(structures)

make_returns(structures, conn_data[, csr, ...])

Make the desired synaptic structures and return them.

require(*structures)

requires(*structures)