Absorption Spectra of Cerium, Neodymium and Samarium