I am trying to stimulate AMPA and NMDA receptors multiple times per run. To do so, I am using the NMDA_Mg_T.mod as the NMDA receptors, release_BMK.mod as the transmitter concentration (POINTER) (modeldb 140828), and the Exp2Syn module as the AMPA receptors.
I am stimulating the Exp2Syn with the vecevent.mod file to specify the spike times.
release_BMK.mod is very similar to the IClamp module and can only be activated once per run (at time onset). Here is the release_BMK code:
Code: Select all
INDEPENDENT {t FROM 0 TO 1 WITH 1 (ms)}
NEURON {
POINT_PROCESS release
RANGE T, onset, dur, amp
}
UNITS {
(mM) = (milli/liter)
}
PARAMETER {
onset (ms)
dur (ms) <0,1e9>
amp (mM)
}
ASSIGNED {
T (mM)
}
INITIAL {
T = 0
}
BREAKPOINT {
at_time(onset)
at_time(onset+dur)
if (t < onset + dur && t > onset) {
T = amp
}else{
T = 0
}
}
I have 2 ideas on how to implement that:
1. I saw that it was possible to play a vector as the amplitude for the IClamp, but I am wondering how.
2. Put a NET_RECEIVE procedure in the release_BMK so that I can simply connect it to the same vecevent stimulating Exp2Syn with a NetCon. The problem is that I have no idea how to do that, since I am new to NEURON and even more inexperienced in NMDOL (where to put the NET_RECEIVE block, what to write in it, do I have to modify the BREAKPOINT block...).
What do you think would be the best way?
I am working with NEURON as a Python module.
Thank you for your help!