active_device object

(Shortest import: from brian2.devices.device import active_device)

brian2.devices.device.active_device = <brian2.devices.device.RuntimeDevice object>

The currently active device (set with set_device())