Package providing the “devices” infrastructure.
device
module
Module containing the Device
base class as well as the RuntimeDevice
implementation and some helper functions to access/set devices.
Exported members:
Device
, RuntimeDevice
, get_device()
, set_device()
, all_devices
, reinit_devices
, reset_device
, device
, seed()
Classes
RuntimeDevice () |
The default device used in Brian, state variables are stored as numpy arrays in memory. |
Functions
seed ([seed]) |
Set the seed for the random number generator. |
set_device (device[, build_on_run]) |
Set the device used for simulations. |
Objects
device |
Proxy object to access methods of the current device |
runtime_device |
The default device used in Brian, state variables are stored as numpy arrays in memory. |