The electrophysiological mapping of compartments within a mammalian cell