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

Class LAYER


Method Summary
  __init__(self, parms)
  __repr__(self)
  AddCellType(self, celltype, n)
celltype can be string name of cell type or var that points to cell type
  AddConnect(self, frm, to, synapse, prob, speed)
frm and to can be just a cell name string or variable, or a tuple that contains (cell, cmp).

Class Variable Summary
NoneType brain = None                                                                  
dict parms = {}
list pt = ['TYPE', 'LAYER_SHELL', 'CELL_TYPE', 'CONNECT', '_I...

Method Details

AddCellType(self, celltype, n)

celltype can be string name of cell type or var that points to cell type

AddConnect(self, frm, to, synapse, prob=0.10000000000000001, speed=10.0)

frm and to can be just a cell name string or variable, or a tuple that contains (cell, cmp). If a cmp is not specified it is guessed, or set to "SOMA1_name".

FIXME: what about mixing vars and strings in tuple? The string for cmp would have to be the cmp *label*, that is, with _name on the end. Test. Change to use GuessConnect? Problems with that. Col may not be set, as in StandardLayers.

Class Variable Details

brain

Type:
NoneType
Value:
None                                                                  

parms

Type:
dict
Value:
{}                                                                     

pt

Type:
list
Value:
['TYPE',
 'LAYER_SHELL',
 'CELL_TYPE',
 'CONNECT',
 '_INPUT_CELLGROUP',
 '_OUTPUT_CELLGROUP',
 '_UPPER',
 '_LOWER',
...                                                                    

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