spynnaker package

Subpackages

Submodules

spynnaker.spike_checker module

spynnaker.spike_checker.synfire_multiple_lines_spike_checker(spikes: ndarray[tuple[Any, ...], dtype[_ScalarT]], n_neurons: int, lines: int, wrap_around: bool = True) None[source]

Checks that there are the expected number of spike lines

Parameters:
  • spikes – The spikes

  • n_neurons – The number of neurons.

  • lines – Expected number of lines

  • wrap_around – If True the lines will wrap around when reaching the last neuron.

Raises:

Exception – If there is a problem with the data

spynnaker.spike_checker.synfire_spike_checker(spikes: ndarray[tuple[Any, ...], dtype[_ScalarT]] | list[ndarray[tuple[Any, ...], dtype[_ScalarT]]], n_neurons: int) None[source]

Checks the spikes and prints an error file if needed.

Parameters:
  • spikes – The spike data to check.

  • n_neurons – The number of neurons.

Raises:

Exception – If there is a problem with the data

spynnaker.spynnaker_plotting module

Module contents