An apparatus includes an electronic amplifier and an electrical feedback line, a plurality of electrical sources, and an electronic controller. The electrical feedback line connects an output of the electronic amplifier to an input thereof. The electrical sources connect to nodes on the electronic feedback line. The electronic controller is configured to adjust the electrical sources in a manner responsive to a current input to the electrical feedback line.