superneuromat.SNN.input_spikes_info#
- SNN.input_spikes_info(max_entries=None)[source]#
Generate a description of the synapses in the SNN.
Generates a list of strings which can be printed, which shows a table of the individual input spikes queued to be sent to the SNN. The first line also shows the number of queued spikes.
Here are the headers for the information which will be shown:
Time
Spike-value
Destination
Time: The number of time steps to wait before sending the spike.
Spike-value: The amplitude or value of the spike.
Destination: The ID of the neuron to which the spike will be sent.
- Parameters:
max_entries (int, optional) – If more than
max_entries
input spikes are queued, only the first and lastmax_entries // 2
spikes will be printed.- Return type:
Examples
>>> print(snn.input_spikes_info()) Input Spikes (1): Time: Spike-value Destination 0: 2.1 -> <Virtual Neuron 4 on model at 0x290f4bb8800>
See also