spynnaker.pyNN.models.neural_projections package

Submodules

spynnaker.pyNN.models.neural_projections.delay_afferent_application_edge module

class spynnaker.pyNN.models.neural_projections.delay_afferent_application_edge.DelayAfferentApplicationEdge(prevertex, delayvertex, label=None)[source]

Bases: pacman.model.graphs.application.application_edge.ApplicationEdge

create_machine_edge(pre_vertex, post_vertex, label)[source]

Create a machine edge between two machine vertices

Parameters:
Returns:

The created machine edge

Return type:

pacman.model.graphs.machine.MachineEdge

spynnaker.pyNN.models.neural_projections.delay_afferent_machine_edge module

class spynnaker.pyNN.models.neural_projections.delay_afferent_machine_edge.DelayAfferentMachineEdge(pre_vertex, post_vertex, label, weight=1)[source]

Bases: pacman.model.graphs.machine.machine_edge.MachineEdge, spynnaker.pyNN.models.abstract_models.abstract_filterable_edge.AbstractFilterableEdge, spynnaker.pyNN.models.abstract_models.abstract_weight_updatable.AbstractWeightUpdatable

filter_edge(graph_mapper)[source]

Determine if this edge should be filtered out

Parameters:graph_mapper – the mapper between graphs
Returns:True if the edge should be filtered
Return type:bool
update_weight(graph_mapper)[source]

Update the weight

spynnaker.pyNN.models.neural_projections.delayed_application_edge module

class spynnaker.pyNN.models.neural_projections.delayed_application_edge.DelayedApplicationEdge(pre_vertex, post_vertex, synapse_information, label=None)[source]

Bases: pacman.model.graphs.application.application_edge.ApplicationEdge

add_synapse_information(synapse_information)[source]
create_machine_edge(pre_vertex, post_vertex, label)[source]

Create a machine edge between two machine vertices

Parameters:
Returns:

The created machine edge

Return type:

pacman.model.graphs.machine.MachineEdge

synapse_information

spynnaker.pyNN.models.neural_projections.delayed_machine_edge module

class spynnaker.pyNN.models.neural_projections.delayed_machine_edge.DelayedMachineEdge(synapse_information, pre_vertex, post_vertex, label=None, weight=1)[source]

Bases: pacman.model.graphs.machine.machine_edge.MachineEdge, spynnaker.pyNN.models.abstract_models.abstract_filterable_edge.AbstractFilterableEdge

filter_edge(graph_mapper)[source]

Determine if this edge should be filtered out

Parameters:graph_mapper – the mapper between graphs
Returns:True if the edge should be filtered
Return type:bool

spynnaker.pyNN.models.neural_projections.projection_application_edge module

class spynnaker.pyNN.models.neural_projections.projection_application_edge.ProjectionApplicationEdge(pre_vertex, post_vertex, synapse_information, label=None)[source]

Bases: pacman.model.graphs.application.application_edge.ApplicationEdge

An edge which terminates on an AbstractPopulationVertex.

add_synapse_information(synapse_information)[source]
create_machine_edge(pre_vertex, post_vertex, label)[source]

Create a machine edge between two machine vertices

Parameters:
Returns:

The created machine edge

Return type:

pacman.model.graphs.machine.MachineEdge

delay_edge
n_delay_stages
synapse_information

spynnaker.pyNN.models.neural_projections.projection_machine_edge module

class spynnaker.pyNN.models.neural_projections.projection_machine_edge.ProjectionMachineEdge(synapse_information, pre_vertex, post_vertex, label=None, traffic_weight=1)[source]

Bases: pacman.model.graphs.machine.machine_edge.MachineEdge, spynnaker.pyNN.models.abstract_models.abstract_filterable_edge.AbstractFilterableEdge, spynnaker.pyNN.models.abstract_models.abstract_weight_updatable.AbstractWeightUpdatable, spinn_front_end_common.interface.provenance.abstract_provides_local_provenance_data.AbstractProvidesLocalProvenanceData

filter_edge(graph_mapper)[source]

Determine if this edge should be filtered out

Parameters:graph_mapper – the mapper between graphs
Returns:True if the edge should be filtered
Return type:bool
get_local_provenance_data()[source]

Get an iterable of provenance data items

Returns:iterable of ProvenanceDataItem
synapse_information
update_weight(graph_mapper)[source]

Update the weight

spynnaker.pyNN.models.neural_projections.synapse_information module

class spynnaker.pyNN.models.neural_projections.synapse_information.SynapseInformation(connector, synapse_dynamics, synapse_type, weight=None, delay=None)[source]

Bases: object

Contains the synapse information including the connector, synapse type and synapse dynamics

connector
delay
synapse_dynamics
synapse_type
weight

Module contents

class spynnaker.pyNN.models.neural_projections.DelayAfferentApplicationEdge(prevertex, delayvertex, label=None)[source]

Bases: pacman.model.graphs.application.application_edge.ApplicationEdge

create_machine_edge(pre_vertex, post_vertex, label)[source]

Create a machine edge between two machine vertices

Parameters:
Returns:

The created machine edge

Return type:

pacman.model.graphs.machine.MachineEdge

class spynnaker.pyNN.models.neural_projections.DelayAfferentMachineEdge(pre_vertex, post_vertex, label, weight=1)[source]

Bases: pacman.model.graphs.machine.machine_edge.MachineEdge, spynnaker.pyNN.models.abstract_models.abstract_filterable_edge.AbstractFilterableEdge, spynnaker.pyNN.models.abstract_models.abstract_weight_updatable.AbstractWeightUpdatable

filter_edge(graph_mapper)[source]

Determine if this edge should be filtered out

Parameters:graph_mapper – the mapper between graphs
Returns:True if the edge should be filtered
Return type:bool
update_weight(graph_mapper)[source]

Update the weight

class spynnaker.pyNN.models.neural_projections.DelayedApplicationEdge(pre_vertex, post_vertex, synapse_information, label=None)[source]

Bases: pacman.model.graphs.application.application_edge.ApplicationEdge

add_synapse_information(synapse_information)[source]
create_machine_edge(pre_vertex, post_vertex, label)[source]

Create a machine edge between two machine vertices

Parameters:
Returns:

The created machine edge

Return type:

pacman.model.graphs.machine.MachineEdge

synapse_information
class spynnaker.pyNN.models.neural_projections.DelayedMachineEdge(synapse_information, pre_vertex, post_vertex, label=None, weight=1)[source]

Bases: pacman.model.graphs.machine.machine_edge.MachineEdge, spynnaker.pyNN.models.abstract_models.abstract_filterable_edge.AbstractFilterableEdge

filter_edge(graph_mapper)[source]

Determine if this edge should be filtered out

Parameters:graph_mapper – the mapper between graphs
Returns:True if the edge should be filtered
Return type:bool
class spynnaker.pyNN.models.neural_projections.ProjectionApplicationEdge(pre_vertex, post_vertex, synapse_information, label=None)[source]

Bases: pacman.model.graphs.application.application_edge.ApplicationEdge

An edge which terminates on an AbstractPopulationVertex.

add_synapse_information(synapse_information)[source]
create_machine_edge(pre_vertex, post_vertex, label)[source]

Create a machine edge between two machine vertices

Parameters:
Returns:

The created machine edge

Return type:

pacman.model.graphs.machine.MachineEdge

delay_edge
n_delay_stages
synapse_information
class spynnaker.pyNN.models.neural_projections.ProjectionMachineEdge(synapse_information, pre_vertex, post_vertex, label=None, traffic_weight=1)[source]

Bases: pacman.model.graphs.machine.machine_edge.MachineEdge, spynnaker.pyNN.models.abstract_models.abstract_filterable_edge.AbstractFilterableEdge, spynnaker.pyNN.models.abstract_models.abstract_weight_updatable.AbstractWeightUpdatable, spinn_front_end_common.interface.provenance.abstract_provides_local_provenance_data.AbstractProvidesLocalProvenanceData

filter_edge(graph_mapper)[source]

Determine if this edge should be filtered out

Parameters:graph_mapper – the mapper between graphs
Returns:True if the edge should be filtered
Return type:bool
get_local_provenance_data()[source]

Get an iterable of provenance data items

Returns:iterable of ProvenanceDataItem
synapse_information
update_weight(graph_mapper)[source]

Update the weight

class spynnaker.pyNN.models.neural_projections.SynapseInformation(connector, synapse_dynamics, synapse_type, weight=None, delay=None)[source]

Bases: object

Contains the synapse information including the connector, synapse type and synapse dynamics

connector
delay
synapse_dynamics
synapse_type
weight