Optical spectra of triply-charged rare-earth ions in polycrystalline corundum