Use of IntFire2 mechanism in HOC code?

Moderator: wwlytton

Post Reply
bottles999
Posts: 1
Joined: Tue May 24, 2005 1:41 pm
Location: Detroit
Contact:

Use of IntFire2 mechanism in HOC code?

Post by bottles999 »

I am trying to integrate a prototype simulation I did using the GUI and Intfire2 cells into a mainly HOC simulation. What I am wondering is there any way I can call the Intfire2 object directly in HOC code and if so how.

The only other alternative I see is to develop my own MOD file with the parameters specified.

Which is easier/better? Any help would be appreciated, thanks. :)
Raj
Posts: 220
Joined: Thu Jun 09, 2005 1:09 pm
Location: Groningen, The Netherlands
Contact:

Post by Raj »

IntFire2 is implemented via a mod-file so you wouldn't gain from writing your own.

The easiest way to obtain example code for your network is to build a simple network using the network builder and then save it. The generated file will contain all the hoc-code or examples of the hoc-code you need to construct your own network from hoc.

One point of caution:
Artificial cells need a section, the reason is that to a large extent NEURON is treating the ARTICFICIAL_CELLs as pointprocessses. The consequence is that you need to put an integrate and fire cell in a section.

Example

Code: Select all

create dummy
access dummy 

objref MyIF
MYIF =new IntFire2(0.5)
, creates an IntFire2 cell.


A few documents you might want to look at:

How to build a network from the GUI and save it:
http://www.neuron.yale.edu/course/net1.html

Background of the artificial cells:
http://www.neuron.yale.edu/neuron/paper ... poster.pdf

`The NEURON Book' also devotes a chapter to point processes and artificial cells:
http://www.neuron.yale.edu/phpBB2/viewtopic.php?t=243
Post Reply