The noun X-ray spectroscopy can be countable or uncountable.
The singular form of X-ray spectroscopy is also X-ray spectroscopy.