Can anyone please tell me that how to know which hoc file contains which kind of content like if i want to implement Hodgkin and Huxley model then which hoc file to use????
Thanks :)
Neuron Hoc files
-
- Site Admin
- Posts: 6394
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Neuron Hoc files
Please go to the FAQ pagenats wrote:Can anyone please tell me that how to know which hoc file contains which kind of content like if i want to implement Hodgkin and Huxley model then which hoc file to use????
http://www.neuron.yale.edu/neuron/faq/general-questions
and look for the item
What's the best way to learn how to use NEURON?
I can make the neuron work....i mean i cud understand how to use it....i can load hoc file and save the output as well but my doubt is only about how to choose hoc files??
i dont know i am unable to understand that.....
suppose i want Hodgkin-Huxley model then is there any hh.hoc file existing or i have to load more than 1 hoc file??
i dont know i am unable to understand that.....
suppose i want Hodgkin-Huxley model then is there any hh.hoc file existing or i have to load more than 1 hoc file??
-
- Site Admin
- Posts: 6394
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
The hh mechanism is built into NEURON. All you have to do is create a section, then
insert hh, and you have a model with Hodgkin-Huxley membrane properties. You can
do this by writing hoc code or by using the GUI.
To do this by writing hoc code, create a plain text file. Call it anything you like; perhaps
simplehh.hoc
The file should contain these statements:
Save the file to disk.
If you are using MSWin, double click on the file; if OS X, drag and drop the hoc file onto
the nrngui icon; if UNIX, at the command prompt type
nrngui simplehh.hoc
Then use the NEURON Main Menu toolbar to create a RunControl panel, a
PointProcessManager configured as an IClamp, and a voltage axis graph (if you need
to see how, go to the Documentation page
http://www.neuron.yale.edu/neuron/docs
and work through the tutorial
Construction and Use of Models: Part 1. Elementary Tools).
insert hh, and you have a model with Hodgkin-Huxley membrane properties. You can
do this by writing hoc code or by using the GUI.
To do this by writing hoc code, create a plain text file. Call it anything you like; perhaps
simplehh.hoc
The file should contain these statements:
Code: Select all
load_file("nrngui.hoc")
create soma
access soma
L = 10
diam = 10
If you are using MSWin, double click on the file; if OS X, drag and drop the hoc file onto
the nrngui icon; if UNIX, at the command prompt type
nrngui simplehh.hoc
Then use the NEURON Main Menu toolbar to create a RunControl panel, a
PointProcessManager configured as an IClamp, and a voltage axis graph (if you need
to see how, go to the Documentation page
http://www.neuron.yale.edu/neuron/docs
and work through the tutorial
Construction and Use of Models: Part 1. Elementary Tools).