How can I set some compartments in my model to different initial membrane potentials? I think a way to do it, is to change v_init to a very positive value (v_init = 10).
For the rest of the model I want to maintain v_init as initially set (v_init = -56).
Below is what I've tried:
In the init procedure, instead of finitialize ->
Code: Select all
forall if (issection("s.*")) { //soma
for (x) v(x) = 10
}
forall if (issection("d.*")) { //dendrite
for (x) v(x) = 10
}
forall if (issection("a.*")) { //axon
for (x) v(x) = -56
}
Do you have any suggestions?
Thank you very much,
Best regards,
Eleftheria