1. An apparatus comprising an array of sensors, a sensor in the array including: a chemically-sensitive field effect transistor (chemFET); a sample and hold capacitor; a first switch connected between a first terminal of the chemFET and a first reference voltage line; and a second switch connected between a second terminal of the chemFET and the sample and hold capacitor.