I'm new to NEURON, trying to work my way through the book, and starting off by recreating the Hodgkin-Huxley model. This includes setting up a set of new mechanisms, getting the setting right and everything as much from scratch as I can.
1. sometimes things I build don't always match the output of NEURON's stock HH mechanism. How do I "lift the hood" and see what those built-in HH settings are?
2. How is temperature a part of model building in NEURON? I found the Celsius variable (and later the Temperature panel), and can enable resetting with ion_style()...but should I be adjusting temp through changing the rate constants instead instead of this seemingly global temp variable?
Learning by recreating the HH model
-
- Site Admin
- Posts: 6303
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Learning by recreating the HH model
Examine the NMODL code for the hh mechanism. It's in hh.mod. I don't think you'll find hh.mod on your machine if you used one of NEURON's binary installers; if that's the case, download NEURON's source codeHow do I "lift the hood" and see what those built-in HH settings are?
https://github.com/neuronsimulator/nrn/ ... master.zip
expand it, and look in nrn/src/nrnoc for hh.mod.
The name of the parameter is celsius, not Celsius. Don't tinker with rate constants directly. Instead, rely on whatever celsius-involving code might exist in the NMODL files you're using. Before you do anything, go toHow is temperature a part of model building in NEURON? I found the Celsius variable
Board index / Making and using models with NEURON / Hot tips
and look for the thread titled celsius and temperature-dependent mechanisms (this will be in the second page of Hot tips), where you will find some links to useful information.