pynn_brainscales.brainscales2.standardmodels.cells.ArrayParameter

class pynn_brainscales.brainscales2.standardmodels.cells.ArrayParameter(value)

Bases: object

Represents a parameter whose value consists of multiple values, e.g. a tuple or array.

The reason for defining this class rather than just using a NumPy array is to avoid the ambiguity of “is a given array a single parameter value (e.g. a spike train for one cell) or an array of parameter values (e.g. one number per cell)?”.

Arguments:
value:

anything which can be converted to a NumPy array, or another ArrayParameter object.

__init__(value)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(value)

Initialize self.

max()

Return the maximum value.

max()

Return the maximum value.