get_objects_in_namespace function

(Shortest import: from brian2.core.magic import get_objects_in_namespace)

brian2.core.magic.get_objects_in_namespace(level)[source]

Get all the objects in the current namespace that derive from BrianObject. Used to determine the objects for the MagicNetwork.