pynn_brainscales.brainscales2.populations.PlasticityRuleHandle

class pynn_brainscales.brainscales2.populations.PlasticityRuleHandle(plasticity_rule: Optional[pynn_brainscales.brainscales2.plasticity_rules.PlasticityRule] = None)

Bases: object

Handle to (shared) plasticity rule. Inheritance is to be used for actual implementations of cell types.

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

Create a new handle to a plasticity rule.

Parameters
  • plasticity_rule – PlasticityRule instance.

  • observable_options – Observable options to use in this cell type instance.

Methods

__init__([plasticity_rule])

Create a new handle to a plasticity rule.

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.

to_plasticity_rule_projection_handle(projection)

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

Attributes

plasticity_rule

property plasticity_rule
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

classmethod to_plasticity_rule_projection_handle(projection: pyNN.common.projections.Projection)_pygrenade_vx_network.ProjectionOnNetwork

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

Currently no options are available.

Parameters

projection – Projection for which to convert

Returns

Representation in grenade