Absorption spectra of garnet films between 1.0 and 1.8 μm by guided-wave optical spectroscopy