Module brain :: Class CELL
[show private | hide private]
[frames | no frames]

Class CELL


Method Summary
  __init__(self, parms)
  __repr__(self)
  AddCompartment(self, cmptype, x, y, z)
cmptype is a reference to a defined compartment, gives characteristics of that cmp cmplabel is what connects are *made to*.
  AddConnect(self, frmcmp, tocmp, speed, gfor, grev)
NOTE that frmcol, frmlay, etc.

Class Variable Summary
dict parms = {}
list pt = ['TYPE', 'COMPARTMENT', 'CONNECT']

Method Details

AddCompartment(self, cmptype, x, y, z=0.0)

cmptype is a reference to a defined compartment, gives characteristics of that cmp cmplabel is what connects are *made to*. NOTE: this is now constructed automatically from the cmptype by postpending "-name" to the cmptype. This restricts us to only one instance of a compartment type per cell but is more consistent with NCS requirements elsewhere. cmptype is a *variable*; cmplabel is a *string* since there is no underlying object being referenced NOTE: z was added later

AddConnect(self, frmcmp, tocmp, speed, gfor, grev)

NOTE that frmcol, frmlay, etc. can be text names OR variables that point to objects!

Class Variable Details

parms

Type:
dict
Value:
{}                                                                     

pt

Type:
list
Value:
['TYPE', 'COMPARTMENT', 'CONNECT']                                     

Generated by Epydoc 2.1 on Sat Apr 16 14:14:53 2005 http://epydoc.sf.net