superneuromat.SNN.get_synaptic_ids_by_post#

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

Returns a list of synapse ids with 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 synapse ids with the given post-synaptic neuron. May be empty.

Return type:

list