Example 3
Now let's test an example with application to neuroscience.
Requirement: NEURON
and its Python
interface. This should work in Linux and MacOS. Under Windows
the installation might be more complicated.
Let's say you have created a neuron model and distributed
Hodgkin and Huxley like sodium and potassium channels and imagine
you just did an electrophysiological recording and used a short 10
ms, 0.01 nA current step injection. The real neuron does not spike
on its own but once the current pulse is applied it leads to
exactly three spikes. Can we tune the ion channel parameters in
our model such that our model will behave the same?
We can define two distance functions: One for tuning the number
spikes before the current injection and the other for the number
of spikes just after the current pulse.
The underlying function which takes three parameters (sodium,
potassium and leak channel conductance) is very complicated,
nonlinear and only to solve numerically. Let's see how we can use
Emoo for finding the right set of parameters.
example3.py
output
