brian2modelfittingtoolbox provides three optimization classes:
The classes expect a model and data as an input and returns the best fit of parameters and the corresponding error. The toolbox can optimize over multiple traces (e.g. input currents) at the same time.
In following documentation we assume that
brian2modelfitting has been imported like this:
from brian2modelfitting import *
To install Model Fitting alongside Brian2 you can use pip, by using a pip utility:
pip install brian2modelfitting
Testing Model Fitting¶
Version on master branch gets automatically tested with Travis services.
To test the code yourself, you will need to have
pytest installed and run