Identifying Types Of Galaxies By Spectra