Title: Optical properties of ions in crystals