Source code for pymatgen.analysis.excitation

# coding: utf-8
# Copyright (c) Pymatgen Development Team.
# Distributed under the terms of the MIT License.

"""
This module defines an excitation spectrum class.
"""

from pymatgen.core.spectrum import Spectrum


[docs]class ExcitationSpectrum(Spectrum): """ Basic excitation spectrum object. .. attribute: x The sequence of energies .. attribute: y The sequence of mu(E) """ XLABEL = 'Energy (eV)' YLABEL = 'Intensity' def __init__(self, x, y): """ Args: x: A sequence of x-ray energies in eV y: A sequence of intensity values """ super().__init__(x, y)