An integrated optical system includes a frequency tunable optical source. A reference path is coupled to the frequency tunable source. The integrated optical system also includes a photonic integrated circuit (PIC) comprising a coherent optical receiver that is optically coupled to the reference path. An optical phased array is optically coupled to the frequency tunable source and is positioned to couple light to and from a sample. The integrated optical system is configured such that when the frequency tunable optical source is tuned in optical frequency, the coherent optical receiver produces electrical signals having optical information about the sample.