Page 1 of 1

How to analyze a graph?

Posted: Tue Nov 02, 2010 4:19 pm
by ergefan
Hi,

I would like to be able to get information from simulation results such as action potential width & threshold, spiking frequency, firing latency, resting potential during firing and so on...how can I do that?

Thanks a lot.

Kai.

Re: How to analyze a graph?

Posted: Tue Nov 02, 2010 5:34 pm
by ted
All things are possible through programming.

action potential width
1. Come up with an operational definition. This is the most important step.
2. Devise an algorithm that analyzes v and t values captured to a pair of Vectors using the Vector class's "record" method.
3. Implement the algorithm with a procedure in hoc (or Python if you like).
4. Decide whether you want to do this at the end of each simulation, or whether you want to run a bunch of simulations, write the Vectors to files, and process the files afterward. Then develop the necessary support/administrative code to accomplish the goal.

threshold
spiking frequency
firing latency
resting potential during firing
With each of these the first and most important task is to come up with an operational definition.