An Integrated Optical-Waveguide Chip for Measurement of Cold-Atom Clouds