I am working on a neuronal network simulation, including a method to generate a topologically correct 'network' shapeplot. This tool will be used as one method for visually validating a network's construction. My issue is specific to viewing a graphical version of a network (vs. a single model).
The only strategy I have at this moment is to iterate through a cell list and call upon each object's position(). I still haven't figured out how I would then plot this information. The more I read the online programming reference, the more I fear I am partially reinventing the wheel.
I'd like to retain the features of shapeplot and modelview but combine and extend them to visualize a complete network. Think in terms of a poor man's BlueBrain flythrough.
Is this feature, or components of it, already built into NEURON? Suggestions?
Thank you.
viewing a network topologically
Moderator: wwlytton
Re: viewing a network topologically
you can use Hinton plots -- vec.hinton() -- to make x,y animations where each square is a single cell or a single compartment
you can also use shapeplot after distributing the cells appropriately
in the following image
I threw down some cells in Shape -- you can do the same thing with shapeplot so as to get the voltages (or other state var or parameter) showing
the key thing is to distribute the cells according to their location -- if you move all the segs of your soma, the dendrites will follow eg
cc.soma for(ii) pt3dchange(ii,x3d(ii)+x,y3d(ii)+y,z3d(ii), diam3d(ii))
where x,y is your x,y coordinates for that cell
you can also use shapeplot after distributing the cells appropriately
in the following image
I threw down some cells in Shape -- you can do the same thing with shapeplot so as to get the voltages (or other state var or parameter) showing
the key thing is to distribute the cells according to their location -- if you move all the segs of your soma, the dendrites will follow eg
cc.soma for(ii) pt3dchange(ii,x3d(ii)+x,y3d(ii)+y,z3d(ii), diam3d(ii))
where x,y is your x,y coordinates for that cell