devices package¶
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, reinit_and_delete, reset_device, device, seed()
Classes
Method proxy for access to the currently active device |
|
Base Device object. |
|
Dummy object |
The default device used in Brian, state variables are stored as numpy arrays in memory. |
Functions
Automatically chose a code generation target (invoked when the codegen.target preference is set to |
Gets the actve |
Calls |
Reinitialize all devices, call |
|
Reset to a previously used device. |
|
Set the seed for the random number generator. |
|
Set the device used for simulations. |
Objects
The currently active device (set with |
Proxy object to access methods of the current device |
The default device used in Brian, state variables are stored as numpy arrays in memory. |