Absorption of Dy3+ and Nd3+ ions in BaR2F8 single crystals