superneuromat.SNN.get_synaptic_ids_by_pre#

SNN.get_synaptic_ids_by_pre(pre_id: int | Neuron) list[int][source]#

Returns a list of synapse ids with the given pre-synaptic neuron.

Parameters:

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

Raises:

TypeError – If pre_id is not an int or Neuron.

Returns:

A list of synapse ids with the given pre-synaptic neuron. May be empty.

Return type:

list