Measurement and analysis of muonic X-ray spectra in deformed nuclei