nan in meaured voltage and current

The basics of how to develop, test, and use models.
Post Reply
Posts: 12
Joined: Mon Apr 02, 2012 6:48 am

nan in meaured voltage and current

Post by manyi »

I have a multicompartment neuron model and use SEClamp. When the pulse amplitude is below about +50mV, it is working perfectly. But when the pulse amplitude is larger than +60mV, the measured voltage as well as the electrode current become nan. I wonder whether it is a precision problem.
Site Admin
Posts: 5819
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine

Re: nan in meaured voltage and current

Post by ted »

This is usually caused by either a programmer's error in a mod file, or model equations (usually in a mod file) that are inherently unstable. If you want more specific advice, please zip up all of the hoc, nmodl, and ses files necessary to reproduce the problem (NO dlls please) and email them to
ted dot carnevale at yale dot edu
Please be sure to review these instructions before you send the zip file:
What to include in a zip file, and what to leave out
Post Reply