navis.interfaces.neuron.network.PointNetwork.connect¶
- PointNetwork.connect(source, target, weight, delay=5)[source]¶
Connect two neurons.
- Parameters:
source (int | str) – ID of the source.
target (int | str) – ID of the target
weight (float) – Weight of the edge. The important thing to note here is that the weight is expected to be in the 0-1 range with 1 effectively guaranteeing that a presynaptic spike triggers a postsynaptic spike.
delay (int) – Delay in ms between a pre- and a postsynaptic spike.