Page 1 of 1

Parallel Context Source Var and Target Var Usage

Posted: Mon Mar 26, 2012 11:08 pm
by Krishna Chaitanya
Hi,

I have come across pc.source_var and pc.target_var functions which were meant to be used for synaptic communication and gap junctions. And if I wanted to use them for synaptic communication, how can I use them? Considering with an example, I have AMPA synapse connected to Multi Compatment Granule Cell. Now, pc.source_var looks like [pc.source_var(&source variable, integer)] and pc.target_var as [pc.target_var(&target_var, source variable integer)].

What should be source_variable and what should be target variable? There is very little information on programmer's reference to understand its usage. If there are any examples quoting these variables usage, could you kindly let me know. Thank you.

Re: Parallel Context Source Var and Target Var Usage

Posted: Tue Mar 27, 2012 5:09 pm
by ted
There are two examples in ModelDB--
splitcell/nrntraub.hoc/parlib2.hoc in https://senselab.med.yale.edu/modeldb/S ... odel=97917
and
SRandCRnet/templates/TGnetonecell.tem in https://senselab.med.yale.edu/modeldb/S ... del=135902

Re: Parallel Context Source Var and Target Var Usage

Posted: Wed Mar 28, 2012 10:39 pm
by Krishna Chaitanya
Dear Ted,

Thank you very much for your quick reply. I have gone through the examples which you posted here from modeldb which were very useful in understanding. Thank you.