The method of producing spectra called spectroscopy?
.
quanswer.com