Materials and methods for in vitro electrophysiological measurement