spynnaker.pyNN.external_devices_models.push_bot.spinnaker_link package¶
Module contents¶
- class spynnaker.pyNN.external_devices_models.push_bot.spinnaker_link.PushBotSpiNNakerLinkLEDDevice(led, protocol, spinnaker_link_id, n_neurons=1, label=None, board_address=None, start_active_time_front=None, start_active_time_back=None, start_total_period=None, start_frequency=None)¶
Bases:
PushBotEthernetLEDDevice
,ApplicationSpiNNakerLinkVertex
,PopulationApplicationVertex
The LED of a PushBot
- Parameters:
led (PushBotLED) – The LED device to control
protocol (MunichIoSpiNNakerLinkProtocol) – The protocol instance to get commands from
spinnaker_link_id (int) – The SpiNNakerLink connected to
n_neurons (int) – The number of neurons in the device
label (str) – The label of the device
board_address (str or None) – The IP address of the board that the device is connected to
start_active_time_front (int or None) – The “active time” to set for the front LED at the start
start_active_time_back (int or None) – The “active time” to set for the back LED at the start
start_total_period (int or None) – The “total period” to set at the start
start_frequency (int or None) – The “frequency” to set at the start
- default_parameters = {'board_address': None, 'label': None, 'n_neurons': 1, 'start_active_time_back': None, 'start_active_time_front': None, 'start_frequency': None, 'start_total_period': None}¶
- class spynnaker.pyNN.external_devices_models.push_bot.spinnaker_link.PushBotSpiNNakerLinkLaserDevice(laser, protocol, spinnaker_link_id, n_neurons=1, label=None, board_address=None, start_active_time=0, start_total_period=0, start_frequency=0)¶
Bases:
PushBotEthernetLaserDevice
,ApplicationSpiNNakerLinkVertex
,PopulationApplicationVertex
The Laser of a PushBot.
- Parameters:
laser (PushBotLaser) – Which laser device to control
protocol (MunichIoSpiNNakerLinkProtocol) – The protocol instance to get commands from
spinnaker_link_id (int) – The SpiNNakerLink that the PushBot is connected to
n_neurons (int) – The number of neurons in the device
label (str) – A label for the device
board_address (str or None) – The IP address of the board that the device is connected to
start_active_time (int) – The “active time” value to send at the start
start_total_period (int) – The “total period” value to send at the start
start_frequency (int) – The “frequency” to send at the start
- default_parameters = {'board_address': None, 'label': None, 'n_neurons': 1, 'start_active_time': 0, 'start_frequency': 0, 'start_total_period': 0}¶
- class spynnaker.pyNN.external_devices_models.push_bot.spinnaker_link.PushBotSpiNNakerLinkMotorDevice(motor, protocol, spinnaker_link_id, n_neurons=1, label=None, board_address=None)¶
Bases:
PushBotEthernetMotorDevice
,ApplicationSpiNNakerLinkVertex
,PopulationApplicationVertex
The motor of a PushBot.
- Parameters:
motor (PushBotMotor) – the motor to control
protocol (MunichIoSpiNNakerLinkProtocol) – The protocol used to control the device
spinnaker_link_id (int) – The SpiNNakerLink connected to
n_neurons (int) – The number of neurons in the device
label (str) – The label of the device
board_address (str or None) – The IP address of the board that the device is connected to
- default_parameters = {'board_address': None, 'label': None, 'n_neurons': 1}¶
- class spynnaker.pyNN.external_devices_models.push_bot.spinnaker_link.PushBotSpiNNakerLinkRetinaDevice(spinnaker_link_id, protocol, resolution, board_address=None, label=None, n_machine_vertices=1)¶
Bases:
AbstractPushBotRetinaDevice
,ApplicationSpiNNakerLinkVertex
,PopulationApplicationVertex
- Parameters:
spinnaker_link_id (int) –
protocol (MunichIoSpiNNakerLinkProtocol) –
resolution (PushBotRetinaResolution) –
board_address (str) –
label (str) –
n_machine_vertices (int) –
- default_parameters = {'board_address': None, 'label': None, 'n_machine_vertices': 1}¶
- new_key_command_payload()[source]¶
Support method to obtain the key after the key allocator has run
- Parameters:
routing_info –
- Returns:
the key
- Return type:
- property start_resume_commands¶
The commands needed when starting or resuming simulation.
- Return type:
iterable(MultiCastCommand)
- class spynnaker.pyNN.external_devices_models.push_bot.spinnaker_link.PushBotSpiNNakerLinkSpeakerDevice(speaker, protocol, spinnaker_link_id, n_neurons=1, label=None, board_address=None, start_active_time=50, start_total_period=100, start_frequency=None, start_melody=None)¶
Bases:
PushBotEthernetSpeakerDevice
,ApplicationSpiNNakerLinkVertex
,PopulationApplicationVertex
The speaker of a PushBot.
- Parameters:
speaker (PushBotSpeaker) – Which speaker device to control
protocol (MunichIoSpiNNakerLinkProtocol) – The protocol instance to get commands from
spinnaker_link_id (int) – The SpiNNakerLink connected to
n_neurons (int) – The number of neurons in the device
label (str) – The label of the device
board_address (str or None) – The IP address of the board that the device is connected to
start_active_time (int) – The “active time” to set at the start
start_total_period (int) – The “total period” to set at the start
start_frequency (int) – The “frequency” to set at the start
start_melody (int) – The “melody” to set at the start
- default_parameters = {'board_address': None, 'label': None, 'n_neurons': 1, 'start_active_time': 50, 'start_frequency': None, 'start_melody': None, 'start_total_period': 100}¶