Plotting spectra using Xmu (limited Python experience)

Hi all, I’m a grad student exploring pymatgen as a tool to plot my xmu.dat files for XES, XANES, and EXAFS. I’d consider myself an advanced beginner in Python, and I’m having trouble understanding the documentation for the Xmu module. Can someone explain to me without using too many niche terms how to use this module to plot my spectra? The absorbing atom argument makes sense, but I’m not sure how to interpret the header, parameters, and data arguments. (I’m trying out pymatgen since just trying to read the file into a pandas dataframe created huge formatting issues. My group’s theory collaborator will meet with me soon to get me familiar with Corvus, but pymatgen seems like a cool library anyway so I’d love to get comfortable with it too.)