pygrenade_vx.network.abstract.LocallyPlacedNeuron

class pygrenade_vx.network.abstract.LocallyPlacedNeuron

Bases: pygrenade_common.Population.Cell

__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(*args, **kwargs)

Initialize self.

get_input_ports(self)

Get input ports.

get_output_ports(self)

Get output ports.

is_partitionable(self)

LocallyPlacedNeuron is partitionable onto an execution instance on the executor.

requires_time_domain(self)

LocallyPlacedNeuron requires a time domain, since it is represented by physical circuits operating in time.

valid(*args, **kwargs)

Overloaded function.

Attributes

compartments

shape

class Compartment

Bases: pybind11_builtins.pybind11_object

ReceptorType

alias of _pygrenade_vx_network.Receptor.Type

class SpikeMaster

Bases: pybind11_builtins.pybind11_object

property atomic_neuron_on_compartment
property receptors
property spike_master
property compartments
get_input_ports(self: _pygrenade_vx_network_abstract.LocallyPlacedNeuron)list[pygrenade_common.Vertex.Port]

Get input ports. The LocallyPlacedNeuron features one input port of synaptic input to the neuron (port index 0). Its channels are formed by the receptors (dimension 1) per compartment (dimension 0) on the neuron.

get_output_ports(self: _pygrenade_vx_network_abstract.LocallyPlacedNeuron)list[pygrenade_common.Vertex.Port]

Get output ports. The LocallyPlacedNeuron features one output port of spikes from the neuron (port index 0), where the channels are the compartments, and one output port of an analog value to read out (port index 1), where the channels are the atomic neuron circuits (dimension 1) per compartment (dimension 0).

is_partitionable(self: _pygrenade_vx_network_abstract.LocallyPlacedNeuron)bool

LocallyPlacedNeuron is partitionable onto an execution instance on the executor.

requires_time_domain(self: _pygrenade_vx_network_abstract.LocallyPlacedNeuron)bool

LocallyPlacedNeuron requires a time domain, since it is represented by physical circuits operating in time.

property shape
valid(*args, **kwargs)

Overloaded function.

  1. valid(self: _pygrenade_vx_network_abstract.LocallyPlacedNeuron, input_port_on_cell: int, dynamics: pygrenade_common.Population.Cell.Dynamics) -> bool

LocallyPlacedNeuron doesn’t have externally-defined inputs, therefore no dynamics are valid.

  1. valid(self: _pygrenade_vx_network_abstract.LocallyPlacedNeuron, time_domain_runtimes: pygrenade_common.TimeDomainRuntimes) -> bool

Only ClockCycleTimeDomainRuntimes are valid.