Hi,
Is there any way to calculate the area under the curve of an ADP using NEURON?
Thanks in advance,
YM.
some calclulation
Re: some calclulation
You could record voltage into a Vector during simulation, subtract the baseline, and then calculate the integral using integraluts wrote:Is there any way to calculate the area under the curve of an ADP using NEURON?
record is described here:
http://www.neuron.yale.edu/neuron/stati ... tml#record
scalar subtraction from a vector (sub):
http://www.neuron.yale.edu/neuron/stati ... 2.html#sub
calculation of the integral:
http://www.neuron.yale.edu/neuron/stati ... l#integral
Hope that helps.