https://thecode.media/spectroscopy-2/