pynn_brainscales.brainscales2.standardmodels.cells_base

Classes

ABC()

Helper class that provides a standard way to create an ABC using inheritance.

NeuronCellType(plasticity_rule, **parameters)

Network addable cell with plasticity rule handle.

Population(size, cellclass[, cellparams, …])

A group of neurons all of the same type.

StandardCellType(**parameters)

Network addable standard cell type, to be used as base for all cells.

UpstreamStandardCellType

alias of pyNN.standardmodels.StandardCellType

Functions

pynn_brainscales.brainscales2.standardmodels.cells_base.abstractmethod(funcobj)

A decorator indicating abstract methods.

Requires that the metaclass is ABCMeta or derived from it. A class that has a metaclass derived from ABCMeta cannot be instantiated unless all of its abstract methods are overridden. The abstract methods can be called using any of the normal ‘super’ call mechanisms. abstractmethod() may be used to declare abstract methods for properties and descriptors.

Usage:

class C(metaclass=ABCMeta):

@abstractmethod def my_abstract_method(self, …):

pynn_brainscales.brainscales2.standardmodels.cells_base.build_translations(*translation_list)

Build a translation dictionary from a list of translations/transformations.