KEY WORDS 10 motion compensation, whole-cell, in vivo, automated patching, autopatching, optogenetics 11 12
Abstract 13Whole-cell patch-clamp recording in vivo is the gold-standard method for measuring subthreshold 14 electrophysiology from single cells during behavioural tasks, sensory stimulations, and 15 optogenetic manipulation. However, these recordings require a tight, gigaohm resistance, seal 16 between a glass pipette electrode's aperture and a cell's membrane. These seals are difficult to 17 form, especially in vivo, in part because of a strong dependence on the distance between the pipette 18 aperture and cell membrane. We elucidate and utilize this dependency to develop an autonomous 19 109 1.