create soma hillock axon dendrite[ndend] myelin[nmyelin], node[nmyelin] // names cell components to be used // and calls for "ndend" dendrites // "nmyelin" myelin-node pairs: "nmyelin" and // "ndend" provide for convenient global changes // create may be used to assign other names such // as "patch", etc.Simple dendritic structures such as// CONNECT SECTIONS to construct cell
// See example for simple cell in fig below // Here we connect sections so that all indices radiate out from the soma soma connect hillock(1), 0 hillock connect axon(1), 0 if (nmylin>0) { axon connect myelin[0](1), 0 myelin[0] connect node[0](1), 0 if (nmyelin>1) { for i=1,nmyelin-1 { node[i-1] connect myelin[i](1),0 myelin[i] connect node[i](1), 0 } } }// ASSIGN DIMENSIONS and number of segments
soma { L=25 diam=25 nseg=1} // length of 25 microns, & diameter of 25 // single segment axon { L=alen diam=10 nseg=15 } // length of alen microns, & diameter of 10 // split into 15 segments (compartments) /* give soma and axon dimensions before hillock, because hillock is to be tapered between soma and axon diameters */ hillock {L= hlen nseg=4 dsoma = soma.diam(0) daxon = axon.diam(1) diam(0:1) = daxon:dsoma // linear taper of //diameter of hillock between that of soma and axon } // myelininated and nodal sections are handled in pairs for i=0, nmyelin-1 { myelin[i].nseg = 5 // 5 segments per myelin region node[i].nseg = 1 // single nodal compartment } mdiam=10 // myelin diameter in microns mlen0 = 275 mlen1 = 500 mlen2 = 1000 // myelinated axon lengths in microns // below the myelin length is increased from mlen0 to mlen2 // while the nodal dimensions remain constant with // diam = 10 microns and length = 3.2 myelin[0] { L= mlen0 diam= mdiam } node[0] { L= 3.2 diam= 10 } myelin[1] { L= mlen1 diam= mdiam } node[1] { L= 3.2 diam= 10 } if (nmyelin > 2) for i=2,nmyelin-1 { myelin[i] { L= mlen2 diam= mdiam } node[i] { L= 3.2 diam= 10 } }
soma connect axon(0), 1 // connects right end of soma (1) to left end of axon (0) for i=0,2 soma connect dendrite[i] (1), 0 // connects right end (1) of each dendrite to // left end of soma (0)
Note that one may restrict or expand
the items viewed by choosing from one
to all of the options listed on the right side of the browser by clicking to toggle
"parameters", "states", etc on or off before selecting the named component.
Alternatively, one can choose global mechanisms which brings up a browser panel
containing all of the global parameters.
The squid legacy values for the dimensions of a "patch" or soma
are readily reassigned the desired value as shown
in the line just under "create soma". This can be verified by selecting
("double click" on) the soma for viewing; the panel below should
appear.