A spectromicroscope for nanophysics.