Example demonstrating the results of the EDC and ODC platforms. Two stimulated APs from an example cell (cell 1, Figs. S6A and S8) showing the effects of adding Itarget (IK1) are shown while paced at three different frequencies: (A) 0.5 Hz, (B) 1 Hz, and (C) 2 Hz. The gray, orange, and green traces represent the control without any current addition, adding Itarget with EDC, and adding Itarget with ODC, respectively. The top panels in each of (A) through (C) overlay the paced APs over time under control and both dynamic-clamp conditions, and the black triangles indicate when a stimulus current was delivered. In the middle panels, the traces represent the calculated target currents for EDC and ODC. The bottom panels show the calculated light intensity used to generate the target current. The time axis corresponds to the time within the full recording shown in Fig. S6A.