Module netplot :: Class NetPlot
[show private | hide private]
[frames | no frames]

Class NetPlot


Method Summary
  __init__(self, cells, idxstart, maxcell, esyns, isyns, syns, names, w, h, superpretty, maxsyndist, nvpx, nvpy)
  drawcell(self, cellnum)
  drawcell2(self, cellnum)
  drawcells(self)
create a list of cells to plot, for speed note that the fat part of the pyramid is the output, where the axon comes out!
  drawsyn(self, syns)
Now may only show a fraction of all synapses (showing all may make screen too cluttered) If SHOWSYNFRACTION is changed, have to re-draw display list by calling this routine.
  FindClosestAxonDendrite(self, c1, c2)
  idle(self)
  on_display(self)
  on_key(self, k, j, l)
  on_motion(self, x, y)
  on_mouse(self, but, state, x, y)
  on_reshape(self, w, h)
  on_special(self, key, x, y)
  RemakeSynLists(self)
  ScreenCenter(self)

Class Variable Summary
float CELLHEIGHT = 20.0                                                                  
dict cells = {}
float CELLWIDTH = 10.0                                                                  
int DLIST = 1                                                                     
int ESLIST = 2                                                                     
list esyns = []
list fi = []
dict idxstart = {}
int ISLIST = 3                                                                     
list isyns = []
float lastrad = 700.0                                                                 
float lasttheta = 0.59999999999999998                                                   
NoneType lastx = None                                                                  
float lasty = 0.0                                                                   
NoneType lastz = None                                                                  
tuple light1Position = (100.0, 100, 0.0, 0.0)
int maxcell = -1                                                                    
int nvpx = 3                                                                     
int nvpy = 4                                                                     
int playspikeendidx = -1                                                                    
int playspikes = -1                                                                    
int playspikestartidx = 0                                                                     
int playspikestarttick = 0                                                                     
int playspikestarttime = -1                                                                    
int PSLIST = 4                                                                     
bool showesyn = False
bool showisyn = False
bool showlabels = False
NoneType SHOWSYNAPSEFRACTION = None                                                                  
NoneType startx = None                                                                  
NoneType startz = None                                                                  
bool superpretty = False
list syns = []
int vp = 0                                                                     

Method Details

drawcells(self)

create a list of cells to plot, for speed note that the fat part of the pyramid is the output, where the axon comes out!

drawsyn(self, syns)

Now may only show a fraction of all synapses (showing all may make screen too cluttered) If SHOWSYNFRACTION is changed, have to re-draw display list by calling this routine.

Class Variable Details

CELLHEIGHT

Type:
float
Value:
20.0                                                                  

cells

Type:
dict
Value:
{}                                                                     

CELLWIDTH

Type:
float
Value:
10.0                                                                  

DLIST

Type:
int
Value:
1                                                                     

ESLIST

Type:
int
Value:
2                                                                     

esyns

Type:
list
Value:
[]                                                                     

fi

Type:
list
Value:
[]                                                                     

idxstart

Type:
dict
Value:
{}                                                                     

ISLIST

Type:
int
Value:
3                                                                     

isyns

Type:
list
Value:
[]                                                                     

lastrad

Type:
float
Value:
700.0                                                                 

lasttheta

Type:
float
Value:
0.59999999999999998                                                   

lastx

Type:
NoneType
Value:
None                                                                  

lasty

Type:
float
Value:
0.0                                                                   

lastz

Type:
NoneType
Value:
None                                                                  

light1Position

Type:
tuple
Value:
(100.0, 100, 0.0, 0.0)                                                 

maxcell

Type:
int
Value:
-1                                                                    

nvpx

Type:
int
Value:
3                                                                     

nvpy

Type:
int
Value:
4                                                                     

playspikeendidx

Type:
int
Value:
-1                                                                    

playspikes

Type:
int
Value:
-1                                                                    

playspikestartidx

Type:
int
Value:
0                                                                     

playspikestarttick

Type:
int
Value:
0                                                                     

playspikestarttime

Type:
int
Value:
-1                                                                    

PSLIST

Type:
int
Value:
4                                                                     

showesyn

Type:
bool
Value:
False                                                                  

showisyn

Type:
bool
Value:
False                                                                  

showlabels

Type:
bool
Value:
False                                                                  

SHOWSYNAPSEFRACTION

Type:
NoneType
Value:
None                                                                  

startx

Type:
NoneType
Value:
None                                                                  

startz

Type:
NoneType
Value:
None                                                                  

superpretty

Type:
bool
Value:
False                                                                  

syns

Type:
list
Value:
[]                                                                     

vp

Type:
int
Value:
0                                                                     

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