superneuromat.SNN.get_synapses_by_post#

SNN.get_synapses_by_post(post_id: int | Neuron) list[Synapse][source]#

Returns the synapses that connect the given post-synaptic neuron.

Parameters:

post_id (int | Neuron, required) – The ID of the post-synaptic neuron.

Raises:

TypeError – If post_id is not an int or Neuron.

Returns:

A list of Synapses with the given post-synaptic neuron. May be empty.

Return type:

list