Scanning tunneling spectroscopy (STS), an extension of scanning tunneling microscopy (STM), is used to provide information about the density of electrons in a sample as a function of their energy. Scanning tunneling spectroscopy (STS), an extension of scanning tunneling microscopy (STM), is used to provide information about the density of electrons in a sample as a function of their energy.