In general, an imaging system to synchronously record a spatial image and a spectral image of a portion of the spatial image is described. In some examples, a beam splitter of the imaging system splits an optical beam, obtained from a viewing device, into a first split beam directed by the imaging system to a spatial camera and a second split beam directed by the imaging system to the entrance slit of an imaging spectrograph that is coupled to a spectral camera. An electronic apparatus synchronously triggers the spatial camera and the spectral camera to synchronously record a spatial image and a spectral image, respectively.