pynn_brainscales.brainscales2.projections.Projection
-
class
pynn_brainscales.brainscales2.projections.
Projection
(presynaptic_neurons, postsynaptic_neurons, connector, synapse_type=None, source=None, receptor_type=None, space=<pyNN.space.Space object>, label=None) Bases:
pyNN.common.projections.Projection
-
__init__
(presynaptic_neurons, postsynaptic_neurons, connector, synapse_type=None, source=None, receptor_type=None, space=<pyNN.space.Space object>, label=None) Create a new projection, connecting the pre- and post-synaptic neurons.
- Parameters
presynaptic_neurons – Population, PopulationView or Assembly object.
postsynaptic_neurons – Population, PopulationView or Assembly object.
connector – a Connector object, encapsulating the algorithm to use for connecting the neurons.
synapse_type – a SynapseType object specifying which synaptic connection mechanisms to use, defaults to None
source – string specifying which attribute of the presynaptic cell signals action potentials. This is only needed for multicompartmental cells with branching axons or dendrodendritic synapses. All standard cells have a single source, and this is the default, defaults to None
receptor_type – string specifying which synaptic receptor_type type on the postsynaptic cell to connect to. For standard cells, this can be ‘excitatory’ or ‘inhibitory’. For non-standard cells, it could be ‘NMDA’, etc. If receptor_type is not given, the default values of ‘excitatory’ is used, defaults to None
space – Space object, determining how distances should be calculated for distance-dependent wiring schemes or parameter values, defaults to Space()
label – a name for the projection (one will be auto-generated if this is not supplied), defaults to None
Methods
__init__
(presynaptic_neurons, …[, …])Create a new projection, connecting the pre- and post-synaptic neurons.
add_to_network_graph
(populations, …)get_data
(observable)Get data for an observable per synapse.
Attributes
Query the last routing run for placement of this projection.
-
static
add_to_network_graph
(populations: List[pyNN.common.populations.Population], projection: pynn_brainscales.brainscales2.projections.Projection, builder: _pygrenade_vx_network.NetworkBuilder) → _pygrenade_vx_network.ProjectionOnNetwork
-
get_data
(observable: str) Get data for an observable per synapse.
- Parameters
observable – Name of observable.
- Returns
Array with recorded data. The array’s entries are values for each timer entry. Each value has a .data attribute, containing the recorded data.
- Raises
RuntimeError – If observable name is not known or the projection does not implement a plasticity rule.
-
property
placed_connections
Query the last routing run for placement of this projection.
-