From: Natschläger T. <Tho...@sc...> - 2008-06-27 05:55:18
|
Hi Mathieu, please have a look at the example http://www.lsm.tugraz.at/pcsim/examples/spatial_inh_exc_populations.py (which is also included in the distribution) which shows how to use a *population of input neurons* connected via a ConnectionProjection to the pool of neurons. This will allow you to access the individual connections. Best Regards -thomas (natschlaeger) -----Original Message----- From: Mathieu Dubois [mailto:mat...@li...] Sent: Thu 6/26/2008 6:03 PM To: pcs...@li... Cc: Natschläger Thomas Subject: Re: [Pcsim-users] plot Hi Thomas, Hi Dejan, Thank you very much for the helpful information. I'm close to get the kind of plot that I want. Nevertheless, I still have some problems. Let me explain. I want to build (and plot) the same LSM than in [1] (very similar to the one given in the Circuit-Tool tutorial). I have created the liquid neurons as a spatial population with 2 families: liquid_nrn_popul = SpatialFamilyPopulation( net, [ exc_nrn_factory, inh_nrn_factory ], RatioBasedFamilies( EXC_INH_Ratio ), CuboidIntegerGrid3D(LIQUID_SIZE, LIQUID_ORIGIN) ); so I can make the connections inside the liquid with a ConnectionsProjection and draw those synapses with the help you gave me. But for connecting (for instance) the input neurons to the liquid I use net.connect (as in the examples) so I cannot use a ConnectionsProjection (each input neuron is connected to the three liquid neurons at the same altitude). I think that I can define a new sub-population in the liquid with the function subset (and therefore use a ConnectionsProjection) but I cannot figure out how to do that with the online help. So my question is: How to define a subpopulation? Thanks in advance, Mathieu [1] "Imitation Learning with spiking networks and real-world devices", H. Burgsteiner, Engineering Applications of AI, 19, 741-752, 2006 Natschläger Thomas wrote: > Hi Mathieu, > > please find attached an example which shows how to extract such information. > > Regards > > -thomas natschlaeger > > > -----Original Message----- > From: pcs...@li... on behalf of Mathieu Dubois > Sent: Tue 6/24/2008 6:20 PM > To: pcs...@li... > Subject: [Pcsim-users] plot > > Hi, > > I would like to plot the networks created with pcsim (with Gnuplot.py). > > I know how to access the neurons (in fact the sub-populations created > with SpatialSimObjectPopulation) but I don't know how to access the > synapses in the network. > Furthermore how can I find the source and the destination of a synapse? > > Thanks in advance, > Mathieu > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Pcsim-users mailing list > Pcs...@li... > https://lists.sourceforge.net/lists/listinfo/pcsim-users > > > |