Same way you'd deal with any other function. If you're rusty on this, breeze through
Tutorial 1 : optimizing a function
http://www.neuron.yale.edu/neuron/stati ... /main.html
to get an overview of the whole process.
For your particular problem, everything would be the same as in the tutorial, up to
Step 3. Specify the function we want to optimize. I suppose you have a table with
several pairs of data e.g.
orientation firing_rate
that you're going to get into NEURON's "clipboard" and then "paste" into the fitter.
Remember that, for each such pair, you're going to be executing a complete simulation
and calculating a firing rate. So during the development & debugging phase of setting
things up, you'll want to limit the number of data pairs--otherwise, each iteration of the
MRF is going to be quite slow. After you have things working properly, and you're ready
for it to do the "real job," you can come back and paste a more complete data set into the
optimizer.
Anyway, when you get to Step 3, instead of
Fitness / Common Functional Forms / etc.
you'd select
Fitness / Expression with $1
and then enter
ffreq($1)
into the edit field of the dialog box.
Then carry on with the remaining steps as per the tutorial (i.e. specify the parameters
that you wish to adjust, etc.).