Input Impedance and CVODE

Anything that doesn't fit elsewhere.
Post Reply
matiasm
Posts: 12
Joined: Sun Jan 30, 2011 7:33 pm

Input Impedance and CVODE

Post by matiasm »

Hi,

I have been trying to get the .compute(0.5) working to do some impedance measurements. I have read: https://www.neuron.yale.edu/phpBB2/viewtopic.php?t=771 and there is a line saying:

sets origin for impedance calculations
zz.compute(FREQ, 1) // takes the impedance contributions of
// gating state differential equations into account
// but requires mechanisms to be compatible with CVODE

What does "requires mechanisms to be compatible with CVODE" mean? I am trying to run a simple code similar to the one on this tutorial and I get an error message:
nrniv: spike cannot be used with CVODE

I am using a mechanism called spike, why would this not work with .compute? how can I get around this? I would like to compute input impedances for a few frequencies.

Thank you

Matias
ted
Site Admin
Posts: 5795
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Input Impedance and CVODE

Post by ted »

The proper term would be "adaptive integration" but CVODE is the name of the adaptive integrator that was first incorporated into NEURON, and the name stuck. You'll find more about it here, including a suggestion of what is required for a mechanism to be compatible with adaptive integration
http://www.neuron.yale.edu/neuron/stati ... cvode.html
For more information see
http://www.neuron.yale.edu/neuron/stati ... l#Channels

Compiling mod files produces a series of messages that will include warnings about mechanisms that are not compatible with CVODE. They zip past very quickly, so you may have to scroll back to find them.
matiasm
Posts: 12
Joined: Sun Jan 30, 2011 7:33 pm

Re: Input Impedance and CVODE

Post by matiasm »

Excellent thank you very much. I will try edit my mod files and see.
Thanks

Matias
Post Reply