from brian2 import collect)
level : int, optional
How much further up to go in the stack to find the objects. Needs only to be specified if
collect()is called as part of a function and should be increased by 1 for every level of nesting. Defaults to 0.
objects : set of
The objects that will be simulated.