Text this: Determination of Chemical State and External Magnetic Field Effect on the Energy Shifts and X-Ray Intensity Ratios of Yttrium and Its Compounds