nengolib.Network

class nengolib.Network(*args, **kwargs)[source]

Drop-in replacement for nengo.Network.

Changes the default parameters for nengo.Ensemble to:

Parameters:
*args : list, optional

Additional arguments passed to nengo.Network.

**kwargs : dictionary, optional

Additional keyword arguments passed to nengo.Network.

Examples

See Network Improvements for a notebook example.

Attributes:
all_connections

(list) All connections in this network and its subnetworks.

all_ensembles

(list) All ensembles in this network and its subnetworks.

all_networks

(list) All networks in this network and its subnetworks.

all_nodes

(list) All nodes in this network and its subnetworks.

all_objects

(list) All objects in this network and its subnetworks.

all_probes

(list) All probes in this network and its subnetworks.

config

(.Config) Configuration for this network.

label

A parameter where the value is a string.

n_neurons

(int) Number of neurons in this network, including subnetworks.

seed

A parameter where the value is an integer.

Methods

add(obj) Add the passed object to Network.context.
default_config() Constructs a ~.Config object for setting defaults.
copy