modeling Electrical Coupling

Moderator: wwlytton

Post Reply

modeling Electrical Coupling

Post by davidfourie »

I am using the "gap junction" specification from the neuron book to link two neurons (soma and soma1).

Code: Select all

objref g[2]
  soma g[0] = new Gap()
  soma1 g[1] = new Gap()

soma g[0].loc(0.5)     // middle of soma 
soma1 g[1].loc(0.5)   // middle of soma1

  g[0].r = 3
  g[1].r = 3
setpointer g[0].vgap, soma1.v(0.5)
setpointer g[1].vgap, soma.v(0.5)

is there any way of adding a delay to this?
Site Admin
Posts: 5786
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine

Post by ted »

NMODL does have a DELAY keyword (see

DELAY keyword

Post by davidfourie »

The link doesn't give any details of the use of the keyword.

would I declare it in the .mod file of the Gap junction.

Code: Select all

  Electrical coupling modelled with a gap junction between the pre and post neruons.
  Model is based on Gap Junction in (Carnevale and Hines 2006a)


  POINTER vgap
  RANGE r, i

PARAMETER { r = 1e10 (megohm) }

  v (millivolt)
  vgap (millivolt)
  i (nanoamp)

BREAKPOINT { i = (v - vgap)/r }

I have tried to model this gap junction using a NET_RECEIVE block without much success.
I would prefer to use the standard Gap code with a slight delay.

Site Admin
Posts: 1600
Joined: Wed May 18, 2005 3:32 pm

Post by hines »

The use of explicit DELAY may not be
well founded in a gap junction context.
If you want more delay in the effect
of a soma voltage in one cell due to
a voltage change in another cell via
gap junction coupling, a physically
meaningful way is to add some cable
properties between the soma and the
gap junction.
Post Reply