neat.NeuronCompartmentTree.add_v_clamp¶ NeuronCompartmentTree.add_v_clamp(loc_idx, *args, **kwargs)[source]¶ Adds a voltage clamp at a given location Parameters: loc (int, dict, tuple or neat.MorphLoc) – The location of the conductance. e_c (float) – The clamping voltage (mV) dur (float, ms) – The duration of the voltage clamp