The circuit is a combination of two Improved Howland Current Pump subcircuits, alternated by two switches controlled by a voltage (Square Wave 0-4V), with two electrodes as a variable load (1-1kΩ).
Everything works fine, except for the presence of spikes caused by the activation of the switches...