Parallel Context Source Var and Target Var Usage

General issues of interest both for network and
individual cell parallelization.

Moderator: hines

Post Reply
Krishna Chaitanya
Posts: 70
Joined: Wed Jan 18, 2012 12:25 am
Location: University of Pavia

Parallel Context Source Var and Target Var Usage

Post by Krishna Chaitanya » Mon Mar 26, 2012 11:08 pm

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.

ted
Site Admin
Posts: 5632
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Parallel Context Source Var and Target Var Usage

Post by ted » Tue Mar 27, 2012 5:09 pm

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

Krishna Chaitanya
Posts: 70
Joined: Wed Jan 18, 2012 12:25 am
Location: University of Pavia

Re: Parallel Context Source Var and Target Var Usage

Post by Krishna Chaitanya » Wed Mar 28, 2012 10:39 pm

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.

Post Reply