The optical spectrum (or emission spectrum) of a light source or some beam contains information on how the optical ener…