Martenzi wrote:If you can help my figure out . . .
I guess you're not a computational modeler. If you're an experimentalist, think like an experimentalist.
Could you please explain if the NMDA mod file ought to have a major influence on the graph without the built in AlpaSynapse? Or is the effect very marginal and can be difficult to spot? How do I test whether my NMDA synapse is having effect?
Does an instance of the NMDA_Mg_T produce anything you can see? Look at the NEURON block in NMDA_Mg_T.mod, which declares the names of variables and parameters that are visible to hoc. In particular notice
RANGE g, gmax . . .
and
NONSPECIFIC_CURRENT i
If you have created an instance of NMDA_Mg_T with hoc statements like
objref foo
foo = new NMDA_Mg_T(0.5)
then you will probably want to see foo.g and foo.i, and you might be able to affect the current foo.i by changing the value of foo.gmax
To discover whether this is so, examine the BREAKPOINT block in NMDA_Mg_T.mod. The BREAKPOINT block contains statements that are executed at each time step. Notice
Code: Select all
BREAKPOINT {
. . .
g = gmax * O
i = (1e-6) * g * (v - Erev)
}
so my guess was correct. You want to plot g and i vs. t. If foo.i is too small, you need to make foo.gmax bigger.
Or maybe you need to reduce foo's mg parameter. What is mg? Is it visible to hoc? If a particular synaptic mechanism is called foo in hoc, what would foo's mg parameter be called? Oops, that's a trick question because mg is declared GLOBAL. That means foo doesn't have it's own mg parameter (if it did have one, the parameter would be called foo.mg). Instead, there is a single mg paramter that affects every instance of the NMDA_Mg_T class, and its hoc name is mg_NMDA_Mg_T.