spynnaker.pyNN.models.utility_models.spike_injector package

Module contents

class spynnaker.pyNN.models.utility_models.spike_injector.SpikeInjector[source]

Bases: spynnaker.pyNN.models.abstract_pynn_model.AbstractPyNNModel

create_vertex(n_neurons, label, constraints, port, virtual_key, reserve_reverse_ip_tag, splitter)[source]

Create a vertex for a population of the model

Parameters:
  • n_neurons (int) – The number of neurons in the population
  • label (str) – The label to give to the vertex
  • constraints (list(AbstractConstraint) or None) – A list of constraints to give to the vertex, or None
Returns:

An application vertex for the population

Return type:

ApplicationVertex

default_population_parameters = {'port': None, 'reserve_reverse_ip_tag': False, 'splitter': None, 'virtual_key': None}