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 – The LED device to control
protocol – The protocol instance to get commands from
spinnaker_link_id – The SpiNNakerLink connected to
n_neurons – The number of neurons in the device
label – The label of the device
board_address – The IP address of the board that the device is connected to
start_active_time_front – The “active time” to set for the front LED at the start
start_active_time_back – The “active time” to set for the back LED at the start
start_total_period – The “total period” to set at the start
start_frequency – 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 – Which laser device to control
protocol – The protocol instance to get commands from
spinnaker_link_id – The SpiNNakerLink that the PushBot is connected to
n_neurons – The number of neurons in the device
label – A label for the device
board_address – The IP address of the board that the device is connected to
start_active_time – The “active time” value to send at the start
start_total_period – The “total period” value to send at the start
start_frequency – 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 – the motor to control
protocol – The protocol used to control the device
spinnaker_link_id – The SpiNNakerLink connected to
n_neurons – The number of neurons in the device
label – The label of the device
board_address – 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
protocol
resolution
board_address
label
n_machine_vertices
- new_key_command_payload() int[source]¶
Support method to obtain the key after the key allocator has run
- Returns:
the key
- property start_resume_commands: List[MultiCastCommand]¶
The commands needed when starting or resuming simulation.
- 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 – Which speaker device to control
protocol – The protocol instance to get commands from
spinnaker_link_id – The SpiNNakerLink connected to
n_neurons – The number of neurons in the device
label – The label of the device
board_address – The IP address of the board that the device is connected to
start_active_time – The “active time” to set at the start
start_total_period – 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