spynnaker.pyNN.external_devices_models.push_bot.spinnaker_link package¶
Module contents¶
- class spynnaker.pyNN.external_devices_models.push_bot.spinnaker_link.PushBotSpiNNakerLinkLEDDevice(led: PushBotLED, protocol: MunichIoSpiNNakerLinkProtocol, spinnaker_link_id: int, n_neurons: int = 1, label: str | None = None, board_address: str | None = None, start_active_time_front: int | None = None, start_active_time_back: int | None = None, start_total_period: int | None = None, start_frequency: int | None = None)¶
Bases:
PushBotEthernetLEDDevice,ApplicationSpiNNakerLinkVertex,PopulationApplicationVertexThe 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 – 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
- class spynnaker.pyNN.external_devices_models.push_bot.spinnaker_link.PushBotSpiNNakerLinkLaserDevice(laser: PushBotLaser, protocol: MunichIoSpiNNakerLinkProtocol, spinnaker_link_id: int, n_neurons: int = 1, label: str | None = None, board_address: str | None = None, start_active_time: int = 0, start_total_period: int = 0, start_frequency: int = 0)¶
Bases:
PushBotEthernetLaserDevice,ApplicationSpiNNakerLinkVertex,PopulationApplicationVertexThe 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 – 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
- class spynnaker.pyNN.external_devices_models.push_bot.spinnaker_link.PushBotSpiNNakerLinkMotorDevice(motor: PushBotMotor, protocol: MunichIoSpiNNakerLinkProtocol, spinnaker_link_id: int, n_neurons: int = 1, label: str | None = None, board_address: str | None = None)¶
Bases:
PushBotEthernetMotorDevice,ApplicationSpiNNakerLinkVertex,PopulationApplicationVertexThe 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 – The label of the device
board_address (str or None) – The IP address of the board that the device is connected to
- class spynnaker.pyNN.external_devices_models.push_bot.spinnaker_link.PushBotSpiNNakerLinkRetinaDevice(spinnaker_link_id: int, protocol: MunichIoSpiNNakerLinkProtocol, resolution: PushBotRetinaResolution, board_address: str | None = None, label: str | None = None, n_machine_vertices: int = 1)¶
Bases:
AbstractPushBotRetinaDevice,ApplicationSpiNNakerLinkVertex,PopulationApplicationVertexImplementation of a PushBot Retina vertex over a Spinnaker link
- Parameters:
spinnaker_link_id (int)
protocol (MunichIoSpiNNakerLinkProtocol)
resolution (PushBotRetinaResolution)
board_address
label
n_machine_vertices (int)
- new_key_command_payload() int[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: List[MultiCastCommand]¶
The commands needed when starting or resuming simulation.
- Return type:
iterable(MultiCastCommand)
- class spynnaker.pyNN.external_devices_models.push_bot.spinnaker_link.PushBotSpiNNakerLinkSpeakerDevice(speaker: PushBotSpeaker, protocol: MunichIoSpiNNakerLinkProtocol, spinnaker_link_id: int, n_neurons: int = 1, label: str | None = None, board_address: str | None = None, start_active_time: int = 50, start_total_period: int = 100, start_frequency: int | None = None, start_melody: int | None = None)¶
Bases:
PushBotEthernetSpeakerDevice,ApplicationSpiNNakerLinkVertex,PopulationApplicationVertexThe 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 – 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 – The “frequency” to set at the start
start_melody – The “melody” to set at the start