Download latest PDF - Read the Docs
Transcript
Brian Documentation, Release 1.5dev gcc_options = [’-ffast-math’] Defines the compiler switches passed to the gcc compiler. For gcc versions 4.2+ we recommend using -march=native. By default, the -ffast-math optimisations are turned on - if you need IEEE guaranteed results, turn this switch off. openmp = False Whether or not to use OpenMP pragmas in generated C code. If supported on your compiler (gcc 4.2+) it will use multiple CPUs and can run substantially faster. However, if you are already running several simulations in parallel this will not improve the speed and may even slow it down. In addition, for smaller networks or for simpler neuron models the parallelisation overheads can make it take longer. usecodegen = False Whether or not to use experimental code generation support. usecodegenweave = False Whether or not to use C with experimental code generation support. usecodegenstateupdate = True Whether or not to use experimental code generation support on state updaters. usecodegenreset = False Whether or not to use experimental code generation support on resets. Typically slower due to weave overheads, so usually leave this off. usecodegenthreshold = True Whether or not to use experimental code generation support on thresholds. usenewpropagate = False Whether or not to use experimental new C propagation functions. usecstdp = False Whether or not to use experimental new C STDP. brianhears_usegpu = False Whether or not to use the GPU (if available) in Brian.hears. Support is experimental at the moment, and requires the PyCUDA package to be installed. magic_useframes = True Defines whether or not the magic functions should search for objects defined only in the calling frame or if they should find all objects defined in any frame. This should be set to False if you are using Brian from an interactive shell like IDLE or IPython where each command has its own frame, otherwise set it to True. 6.8 Logging Brian uses the standard Python logging package to generate information and warnings. All messages are sent to the logger named brian or loggers derived from this one, and you can use the standard logging functions to set options, write the logs to files, etc. Alternatively, Brian has four simple functions to set the level of the displayed log (see below). There are four different levels for log messages, in decreasing order of severity they are ERROR, WARN, INFO and DEBUG. By default, Brian displays only the WARN and ERROR level messages. Some useful information is at the INFO level, so if you are having problems with your program, setting the level to INFO may help. brian.log_level_error() Shows log messages only of level ERROR or higher. brian.log_level_warn() Shows log messages only of level WARNING or higher (including ERROR level). brian.log_level_info() Shows log messages only of level INFO or higher (including WARNING and ERROR levels). brian.log_level_debug() Shows log messages only of level DEBUG or higher (including INFO, WARNING and ERROR levels). 6.8. Logging 255
Related documents
Here`s - The Brian spiking neural network simulator
Example - Read the Docs
Brian Documentation
RL78 Design - Renesas Electronics
CubeSuite Ver.1.40 Integrated Development Environment User`s
CubeSuite+ V1.03.00 Integrateg Development Environment User`s
Applilet3 Device Driver Configurator User`s Manual
Instant Trapper Manuel d`utilisation