Trackable class

(Shortest import: from brian2 import Trackable)

class brian2.core.tracking.Trackable(*args, **kw)[source]

Bases: object

Classes derived from this will have their instances tracked.

The classmethod __instances__() will return an InstanceTrackerSet of the instances of that class, and its subclasses.