Library Spectrum analysis in its application to terrestrial substances and the physical constitution of the heavenly bodies