pygrenade_vx.network.CoordinateSystem
-
class
pygrenade_vx.network.CoordinateSystem Bases:
pybind11_builtins.pybind11_object-
__init__(*args, **kwargs) Overloaded function.
__init__(self: _pygrenade_vx_network.CoordinateSystem) -> None
__init__(self: _pygrenade_vx_network.CoordinateSystem, arg0: _pygrenade_vx_network.CoordinateSystem) -> None
Methods
__init__(*args, **kwargs)Overloaded function.
assign_compartment_adjacent(self, x, y, …)Assign Compartment ID to connected(via switches) neuron-circuits.
clear(self)clear_empty_connections(self, x_max)Clear connections with open ends.
clear_invalid_connections(self, x_max)Clear empty and double connections in given part of coordinate system.
connected(self, x, y)Check for any connection to neuron-circuit at (x,y).
connected_left(self, x, y)Check for direct connection to left neighbor.
connected_left_shared(self, x, y)Check for connection to left neighbor via conductance.
connected_right(self, x, y)Check for direct connection to right neighbor.
connected_right_shared(self, x, y)Check for connection to right neighbor via conductance.
connected_shared_conductance(self, x, y)Return coordinates of all neuron circuits connected to the given one via the shared line.
connected_shared_short(self, x, y)Return coordinates of all neuron circuits directly connected to the given one via the shared line.
connected_top_bottom(self, x, y)Check for direct connection to neighbor in opposite row.
find_compartment(self, compartment)get(self, x, y)get_compartment(self, coordinate_x, coordinate_y)get_config(self, x, y)has_double_connections(self, x_max)Check for connections to shared line both direct and via conductance.
has_empty_connections(self, x_max)Check for connections with open ends.
set(self, x, y, neuron_circuit)set_compartment(self, coordinate_x, …)set_config(self, x, y, neuron_circuit_config_in)short_circuit(self, x_max)Check if any compartments are short circuited.
Attributes
-
assign_compartment_adjacent(self: _pygrenade_vx_network.CoordinateSystem, x: int, y: int, compartment: _pygrenade_vx_network.CompartmentOnNeuron) → _pygrenade_vx_network.NumberTopBottom Assign Compartment ID to connected(via switches) neuron-circuits.
-
clear(self: _pygrenade_vx_network.CoordinateSystem) → None
-
clear_empty_connections(self: _pygrenade_vx_network.CoordinateSystem, x_max: int) → None Clear connections with open ends.
-
clear_invalid_connections(self: _pygrenade_vx_network.CoordinateSystem, x_max: int) → None Clear empty and double connections in given part of coordinate system. Double connections occur if a neuron circuit connects to the shared line directly and via a resistor at the same time. Both connections are deleted then.
-
connected(self: _pygrenade_vx_network.CoordinateSystem, x: int, y: int) → bool Check for any connection to neuron-circuit at (x,y).
-
connected_left(self: _pygrenade_vx_network.CoordinateSystem, x: int, y: int) → bool Check for direct connection to left neighbor.
Check for connection to left neighbor via conductance.
-
connected_right(self: _pygrenade_vx_network.CoordinateSystem, x: int, y: int) → bool Check for direct connection to right neighbor.
Check for connection to right neighbor via conductance.
Return coordinates of all neuron circuits connected to the given one via the shared line. The check only includes those connections starting from the given neuron circuit with a direct connection to the shared line and ending at another neuron circuit with a resistor.
Return coordinates of all neuron circuits directly connected to the given one via the shared line.
-
connected_top_bottom(self: _pygrenade_vx_network.CoordinateSystem, x: int, y: int) → bool Check for direct connection to neighbor in opposite row.
-
property
coordinate_system
-
find_compartment(self: _pygrenade_vx_network.CoordinateSystem, compartment: _pygrenade_vx_network.CompartmentOnNeuron) → list[tuple[int, int]]
-
get(self: _pygrenade_vx_network.CoordinateSystem, x: int, y: int) → _pygrenade_vx_network.NeuronCircuit
-
get_compartment(self: _pygrenade_vx_network.CoordinateSystem, coordinate_x: int, coordinate_y: int) → Optional[_pygrenade_vx_network.CompartmentOnNeuron]
-
get_config(self: _pygrenade_vx_network.CoordinateSystem, x: int, y: int) → _pygrenade_vx_network.UnplacedNeuronCircuit
-
has_double_connections(self: _pygrenade_vx_network.CoordinateSystem, x_max: int) → bool Check for connections to shared line both direct and via conductance.
-
has_empty_connections(self: _pygrenade_vx_network.CoordinateSystem, x_max: int) → bool Check for connections with open ends.
-
set(self: _pygrenade_vx_network.CoordinateSystem, x: int, y: int, neuron_circuit: _pygrenade_vx_network.NeuronCircuit) → None
-
set_compartment(self: _pygrenade_vx_network.CoordinateSystem, coordinate_x: int, coordinate_y: int, compartment: _pygrenade_vx_network.CompartmentOnNeuron) → None
-
set_config(self: _pygrenade_vx_network.CoordinateSystem, x: int, y: int, neuron_circuit_config_in: _pygrenade_vx_network.UnplacedNeuronCircuit) → None
-
short_circuit(self: _pygrenade_vx_network.CoordinateSystem, x_max: int) → bool Check if any compartments are short circuited.
-