I am attempting to do a dynamic clamp recording on a model cell that I made in NEURON in python.
I understand that you can do this by playing a vector through SEClamp._ref_rs, but I was wondering if I could inject both excitatory and inhibitory conductances? I know that you can't feed two conductances through the same electrode, but could I do something like this? If this is not possible, do you have suggestions on what I should do instead?
For example:
Code: Select all
Cell = MakeCell()
ExcConductances = Vector1
InhConductances = Vector2
ExcClamp = h.SEClamp(Cell.soma(0.4))
InhClamp = h.SEClamp(Cell.soma(0.6))
ExcConductances.play(ExcClamp._ref_rs, h.dt)
InhConductances.play(InhClamp._ref_rs, h.dt)
soma_v = h.Vector().record(Cell.soma(0.5)._ref_v)