pynn_brainscales.brainscales2.standardmodels.cells_base.NeuronCellType

class pynn_brainscales.brainscales2.standardmodels.cells_base.NeuronCellType(plasticity_rule: Optional[pynn_brainscales.brainscales2.plasticity_rules.PlasticityRule] = None, **parameters)

Bases: pynn_brainscales.brainscales2.standardmodels.cells_base.StandardCellType, pynn_brainscales.brainscales2.plasticity_rules.PlasticityRuleHandle

Network addable cell with plasticity rule handle.

Currently this includes setting the readout source of each neuron to be available to the plasticity rule.

__init__(plasticity_rule: Optional[pynn_brainscales.brainscales2.plasticity_rules.PlasticityRule] = None, **parameters)

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

Methods

__init__([plasticity_rule])

Initialize self.

to_plasticity_rule_population_handle(population)

Convert observable options to population handle of plasticity rule to backend representation, when plasticity rule handle is assoiated to neuron cell type and used in a population.

Attributes

default_parameters

translations

units

class ReadoutSource

Bases: pybind11_builtins.pybind11_object

Members:

membrane

exc_synin

inh_synin

adaptation

adaptation = <ReadoutSource.adaptation: 3>
exc_synin = <ReadoutSource.exc_synin: 1>
inh_synin = <ReadoutSource.inh_synin: 2>
membrane = <ReadoutSource.membrane: 0>
property name
property value
default_parameters: Final[Dict[str, Any]] = {'plasticity_rule_enable_readout_source': False, 'plasticity_rule_readout_source': 0.0}
classmethod to_plasticity_rule_population_handle(population: pyNN.common.populations.Population)_pygrenade_vx_network.PlasticityRule.PopulationHandle

Convert observable options to population handle of plasticity rule to backend representation, when plasticity rule handle is assoiated to neuron cell type and used in a population.

Parameters

population – Population for which to convert

Returns

Representation in grenade

translations: Final[Dict[str, str]] = {'plasticity_rule_enable_readout_source': {'forward_transform': 'plasticity_rule_enable_readout_source', 'reverse_transform': 'plasticity_rule_enable_readout_source', 'translated_name': 'plasticity_rule_enable_readout_source'}, 'plasticity_rule_readout_source': {'forward_transform': 'plasticity_rule_readout_source', 'reverse_transform': 'plasticity_rule_readout_source', 'translated_name': 'plasticity_rule_readout_source'}}
units: Final[Dict[str, str]] = {'plasticity_rule_enable_readout_source': 'dimensionless', 'plasticity_rule_readout_source': 'dimensionless'}