pynn_brainscales.brainscales2.standardmodels.synapses.StaticRecordingSynapse

class pynn_brainscales.brainscales2.standardmodels.synapses.StaticRecordingSynapse(timer: pynn_brainscales.brainscales2.plasticity_rules.Timer, weight: float, observables: Set[str])

Bases: pynn_brainscales.brainscales2.standardmodels.synapses.StaticSynapse, pynn_brainscales.brainscales2.plasticity_rules.PlasticityRuleHandle

Synaptic connection with fixed weight and delay.

__init__(timer: pynn_brainscales.brainscales2.plasticity_rules.Timer, weight: float, observables: Set[str])

parameters should be a mapping object, e.g. a dict

Methods

__init__(timer, weight, observables)

parameters should be a mapping object, e.g.

Attributes

POSSIBLE_OBSERVABLES

observables

plasticity_rule

POSSIBLE_OBSERVABLES: Final[List[str]] = ['weights', 'correlation_causal', 'correlation_acausal']
class RecordingRule(timer: pynn_brainscales.brainscales2.plasticity_rules.Timer, observables: Set[str])

Bases: pynn_brainscales.brainscales2.plasticity_rules.PlasticityRule

“Plasticity” rule only usable for generating recording of observables. Reference to set of observables is stored and used.

generate_kernel()str

Generate plasticity rule kernel to be compiled into PPU program. The interface to be adhered to is the same as in the empty implementation below. PLASTICITY_RULE_KERNEL is the generic name of the kernel function, which will be expanded to a unique implementation-defined name upon compilation to allow for multiple kernels.

Returns

PPU-code of plasticity-rule kernel as string.

generate_vertex()_pygrenade_vx_network_abstract.PlasticityRule
property observables
property observables
property plasticity_rule