Recording Ionic concentrations
Posted: Wed Aug 20, 2014 11:01 pm
Dear Ted,
I have a model of an axon with some membrane mechanisms (NMODL files of Fast K, Na and ...) added to that. In every NMODL file, I use "USEION x READ xi,xo,enx WRITE ix " to actually force NEURON keep track of ionic concentrations (xi,xo). These mechanisms are added to different sections of my axons. Using "MyVoltageSignal.record(&node[5].v(0.5))" and "MyCurrentSignal.record(&node[5].i_membrane(0.5))" I can record nodal voltage and membrane current at all times and save their values in a file to be read by Matlab. However, I need to monitor Ko and Ki in specific locations along my axon's model. I have tried several ways, but every time I got an error. Would you please help me figure out how to do that?
Also, may I know how I can set equilibrium potentials for each ion in hoc file please? I mean something like ek=-77 or ena=50. Does it update ionic concentrations? if yes, how?
Thank you so much.
Best regards,
Ehsan
I have a model of an axon with some membrane mechanisms (NMODL files of Fast K, Na and ...) added to that. In every NMODL file, I use "USEION x READ xi,xo,enx WRITE ix " to actually force NEURON keep track of ionic concentrations (xi,xo). These mechanisms are added to different sections of my axons. Using "MyVoltageSignal.record(&node[5].v(0.5))" and "MyCurrentSignal.record(&node[5].i_membrane(0.5))" I can record nodal voltage and membrane current at all times and save their values in a file to be read by Matlab. However, I need to monitor Ko and Ki in specific locations along my axon's model. I have tried several ways, but every time I got an error. Would you please help me figure out how to do that?
Also, may I know how I can set equilibrium potentials for each ion in hoc file please? I mean something like ek=-77 or ena=50. Does it update ionic concentrations? if yes, how?
Thank you so much.
Best regards,
Ehsan