Hello and thanks for the last tips.
Now, I want to test if my simulation runs as it should, so I try to test in particular if the temporal evolution of my hh h,n,m, variables work. My idea is to set a Voltage clamp in the target cells by using the SEClamp class to set a fix voltage in them during the whole time of simulation. I expect, when I plot n(t) vs time, the functions behave as negative exponential curves since the voltage is the same during the run. But it isn't so and what I find is a straight line. My target cells are pyram.o(0) and fs_cell.o(0) the mechanism i.e. is suffixed kpyr and to visualize the date I am recording the variable pyram.o(0).soma.n_Kpyr(0.5) and the initial condition is n_inf(V0) for a particular V0.
Could you tell me if that is the right procedure or could you give any clue about the mistakes I am possibly doing?
testing parameters
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: testing parameters
Nobody but you knows what this means.OJAG wrote:My target cells are pyram.o(0) and fs_cell.o(0) the mechanism i.e. is suffixed kpyr and to visualize the date I am recording the variable pyram.o(0).soma.n_Kpyr(0.5) and the initial condition is n_inf(V0) for a particular V0.
My guess is that you are initializing your model cell(s) to a particular voltage, then run aMy idea is to set a Voltage clamp in the target cells by using the SEClamp class to set a fix voltage in them during the whole time of simulation. I expect, when I plot n(t) vs time, the functions behave as negative exponential curves since the voltage is the same during the run. But it isn't so and what I find is a straight line.
simulation with voltage clamp that prevents membrane potential from changing. So the state
variables are starting out in their steady state, and nothing happens during the simulation
that would perturb them from that state.