Hi,
in Brian 1, SDE's are not dealt with very well. For an equation "dx/dt =
[...] + sigma * xi", the equation is integrated with whatever numerical
integration method is chosen for the non-stochastic part and then
sigma*sqrt(dt)*N, where N is a random number drawn from a standard
normal distribution, is added. This corresponds to the Euler-Maruyama
method (if the main method is "euler"), but only for additive noise (or
multiplicative noise under the Itô calculus interpretation).
I'd recommend to instead have a look at Brian 2 (which is still in
"beta", but we'll have a 2.0 release soon), where this is handled more
rigorously:
http://brian2.readthedocs.org
The documentation for stochastic equations is not very complete at the
moment, but have a look at
http://brian2.readthedocs.org/en/2.0b4/advanced/state_update.html and at
our paper
(
http://journal.frontiersin.org/article/10.3389/fninf.2014.00006/full)
to get an idea of how the mechanism works.
For stochastic equations, you currently have the choice to use the
Euler-Maruyama ("euler") method (for additive noise only), the
Euler-Heun method ("heun") or the derivative-free Milstein method
("milstein"). The latter two can be used for multiplicative noise as
well (under the Stratonovich interpretation).
In the paper I linked above, you'll find explanations about our general
approach to solving differential equations numerically. Unfortunately
this approach is at the moment not compatible with the use of solvers
from other libraries like scipy. We want to make the system more
flexible in the future, but this is more of a longer term project.
Hope that helps, best
Marcel