InputArray
self, geometry=None, name=None, copied=False, net_id=0) InputArray(
Population holding static inputs for a rate-coded network.
The input values are stored in the recordable attribute r
, without any further processing.
= net.create(ann.InputArray(geometry=10))
inp = np.linspace(1, 10, 10)
inp.r
= net.create(100, ann.LeakyIntegrator)
pop
= net.connect(inp, pop, 'exc')
proj 1.0) proj.all_to_all(
Note that this population is functionally equivalent to:
= net.create(geometry, ann.Neuron(parameters="r=0.0")) inp
but r
is recordable.
Parameters
Name | Type | Description | Default |
---|---|---|---|
geometry | int | tuple | shape of the population, either an integer or a tuple. | None |
name | str | optional name of the population. | None |