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

Class COMPARTMENT


DOCUMENT: in a CELL, there are COMPARTMENT lines (one now, maybe multiple later), like this: COMPARTMENT SOMA1 SOMA1_name 0.0 0.0 the SOMA1 is a COMPARTMENT *TYPE* reference; the SOMA1_name is what connections reference

DOCUMENT: multiple CHANNEL items can be present. pass them as a list and each one will be printed separately
Method Summary
  __init__(self, parms)
  __repr__(self)
  AddChannel(self, chan)
  DelChannel(self, chan)
Convenience function.

Class Variable Summary
dict parms = {}
list pt = ['TYPE', 'SPIKESHAPE', 'SPIKE_HALFWIDTH', 'TAU_MEMB...

Method Details

DelChannel(self, chan)

Convenience function. Can be done directly by manipulation of cmp.parms[] items. chan is chan to delete; it can be a CHANNEL variable or a string channel name

Class Variable Details

parms

Type:
dict
Value:
{}                                                                     

pt

Type:
list
Value:
['TYPE',
 'SPIKESHAPE',
 'SPIKE_HALFWIDTH',
 'TAU_MEMBRANE',
 'R_MEMBRANE',
 'THRESHOLD',
 'LEAK_REVERSAL',
 'LEAK_CONDUCTANCE',
...                                                                    

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