Hi,
Could I input multiple Netstim into one NetCon?
Or if there is any function like (boolean) AND for combining two netstim?
BTW, how to plot NetStim?
Thanks in advance!
-Henry
Multiple NetStim input into one NetCon
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Multiple NetStim input into one NetCon
Yes.henrychen1986 wrote:Could I input multiple Netstim into one NetCon?
Code: Select all
w=1 w=1
NS1--->IF1<---NS2
|
V output stream
to target
In most situations this is not something that one would want to do.
Note that
1. Each of NEURON's built-in objects that can receive events (ExpSyn, Exp2Syn, NetStim, IntFire1, IntFire2, and IntFire4) can receive events delivered by any number of NetCons.
2. With NMODL it is possible to add definitions of new object classes that can receive events delivered by any number of NetCons. It is also possible to define classes that should only receive inputs from a single NetCon (e.g. synaptic mechanisms with use-dependent or associative plasticity which, for one reason or another, cannot be made stream-specific by code written in the NET_RECEIVE block).
Well, you can approximate AND by reducing the weights in the above diagram to 0.5 and make the time constant of the IF1 _much_ shorter than the shortest ISIs of NS1 and NS2. This is only an approximation because there is a chance of something like this happeningOr if there is any function like (boolean) AND for combining two netstim?
Code: Select all
| |
|
1 23
Use the NetCon class's record() method to capture the time of its events to a Vector. Then, after the end of a simulation, create a Graph object, and use the Graph class's mark() method (or the Vector class's mark() method--the difference is in how one controls the y position of the marks) to draw an "|" character at each recorded time.BTW, how to plot NetStim?