A. We need the GUI tool for optimization problems.
Create a Multiple Run Fitter by clicking on
Tools / Fitting / Multiple Run Fitter
in the NEURON Main Menu toolbar.
Release the mouse button and a Multiple Run Fitter appears.
This one is called
MulRunFitter[0] ; we'll just call it "MRF".
B. We need a tool for optimizing a function.
Create a Function Fitness Generator by clicking on
Generators / Add Fitness Generator / Add Function Fitness
Release the mouse button, and the right panel of the MRF shows the item "Unnamed Function Fitness".
C. Give the Function Fitness Generator a descriptive name.
Ultimately we're going to use this Function Fitness Generator to calculate the difference between our experimental data and our function. But first we're going to change its name from "Unnamed Function Fitness" to "Synaptic conductance". This isn't absolutely mandatory for such a simple problem, but descriptive names are useful for keeping track of things in more complex optimizations.
To rename it, switch the MRF to "change name" mode by clicking on Generators and selecting Change Name.
Note that "Change" appears to right of the Generators button.
Now double click on "Unnamed Function Fitness"
This brings up a dialog box that asks for a new name.
Click in the edit field and change the string to "Synaptic g".
Then click on the Accept button.
The right panel of the MRF shows the new name.
D. We need to see this Function Fitness Generator.
Now we have a Function Fitness Generator called "Synaptic g" that we will use to compare a function with experimental data. We need to get our experimental data into this Generator, but in order to do that, we have to see the Generator.
Put the MRF in "display" mode by clicking on Generators / Display
Now "Display" appears to the right of the Generators button.
Double click on "Synaptic g"
and up pops a window with the title "MulRunFitter[0] Generators".
This is the Function Fitness Generator that we are calling "Synaptic g". If you click on its Close button, you can always get it back by making sure the MRF is in "Display" mode, and then clicking on "Synaptic g" in the right panel.
But if you close the MRF, you'll lose everything--unless you saved it to a session file.
Before we go any further, save everything to a session file!
Next we will load our data into this Function Fitness Generator.
Copyright © 2003 by N.T. Carnevale and M.L. Hines, All Rights Reserved.