parallel Network
Posted: Tue Apr 17, 2012 7:18 am
Hi,
I tried to create a parallelized network following suggestions from previously published paper (Migliore et al). In my network I have a point process and in order to assign a gid to this, I have attached it to a section inside a template (cell).
From NEURON programmer's reference, pc.gid_connect should be used to connect the cells. However in my case I need to specify it as cell.spikeobject for the source as point process is located inside a template. So instead of gid_connect, I used typical netcon in the following way.
if (pc.gid_exists(gid))
nclist.append(new NetCon(cell.spikeobject, target.synlist.object(1), -20, 0.000, 1e-03))
With this connection, when I am using np 1, it gives correct number of spikes. With np 2, there is loss of spikes and with np 4 there are no spikes.
Where am I going wrong? Kindly let me know.
Thank you.
I tried to create a parallelized network following suggestions from previously published paper (Migliore et al). In my network I have a point process and in order to assign a gid to this, I have attached it to a section inside a template (cell).
From NEURON programmer's reference, pc.gid_connect should be used to connect the cells. However in my case I need to specify it as cell.spikeobject for the source as point process is located inside a template. So instead of gid_connect, I used typical netcon in the following way.
if (pc.gid_exists(gid))
nclist.append(new NetCon(cell.spikeobject, target.synlist.object(1), -20, 0.000, 1e-03))
With this connection, when I am using np 1, it gives correct number of spikes. With np 2, there is loss of spikes and with np 4 there are no spikes.
Where am I going wrong? Kindly let me know.
Thank you.