Anfonwch hwn fel neges destun: Rare earths as a probe of environment and electron-phonon interaction in optical materials