Instrument used to measure the spectral components of light as a function of its part in the electromagnetic spectrum