Can a network model contain two different kinds of cells?

Moderator: wwlytton

Post Reply
ted
Site Admin
Posts: 5591
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Can a network model contain two different kinds of cells?

Post by ted » Thu May 26, 2005 4:40 pm

On 3/31/2005 a NEURON user aked:
Can a network model contain two different kinds of cells?

ted
Site Admin
Posts: 5591
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post by ted » Thu May 26, 2005 4:41 pm

It can contain as many different kinds as you like.
If your net has only a few cells, you can do the whole thing
with the Network Builder (see tutorial at
http://www.neuron.yale.edu/neuron/docs
). If your net has > 5 or 6 cells and many synaptic connections,
use the approach described in chapter 11 of the NEURON book
http://www.neuron.yale.edu/ftp/ted/book ... xedref.pdf

Ban

multiple types of cells in a network

Post by Ban » Wed Oct 05, 2005 10:59 am

If you are trying to make a network with multiple types of cells and you want the number in each cell class to vary, how would you do that? What would be the easiest way to write that kind of code?

ted
Site Admin
Posts: 5591
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post by ted » Wed Oct 05, 2005 11:32 am

Use for loops with different parameters.

The NetWork Builder tosses all biophysical model cells into a single big bag (a List of
objects, each of which is a specific instance of a particular cell class), and has another
big bag for all artificial spiking cells. I find it convenient to use a separate List for each
different cell class.

NUM_PYRAMIDS = 50
NUM_SPSTELLATE = 100

objref pyrlist, splist
for ii = 0, NUM_PYRAMIDS-1 pyrlist.append(new Pyramid())
for ii = 0, NUM_SPSTELLATE-1 splist.append(new SpinyStellate())

Post Reply