a: locations of measurements.