Fig. 2: Continuous programmability and additivity of the photovoltaic effect.

a Photocurrent programmed by voltage pulses. b Photovoltage programmed by current pulses. c I–V curve of the WS2 nanotube devices consisting of 4 series channels. d The photoresponse of the WS2 nanotube with 532 nm laser.