RATResultFile
- class ase2sprkkr.result_files.definitions.rat.RATResultFile(definition, container=None, potential=None)[source]
Class hierarchy
Constructor
- extension = 'rat'
- plot_parameters = {}
Result file for XAS (X-ray Absorption Spectroscopy) and related spectra (XMCD, spin and orbital sum-rule integrands).
- clear_cached_data(_option=None)[source]
Discard derived spectra after editing source data.
EFERMI assignments clear the cache automatically. Call this explicitly after changing group data, including direct writes into NumPy views.
- property absorbing_element
Chemical symbol of the element whose core spectrum is plotted.
- property system_formula
Build the system formula from the atom types and their multiplicities.
- property spectrum_subject
- property xray_edge
Spectroscopic label of the absorbing core edge, for example L₂,₃.
- property core_states_index[source]
Return indexes of core_states in CORE_STATES table, some of them can have two lines
- lorentz_width(source='campbell-papp')[source]
Return tuple of Lorentz widths (for the two possible KAP types). The source argument is forwarded to the core_hole_width lookup.
- property data
- plot(layout=(None, 2), figsize=None, latex=None, filename=None, show=None, dpi=800, separate_plots=False, interpolate_to_fermi=True, interpolation_threshold=0.0001, zero_below=True, zero_below_num=50, zero_below_energy=25, no_core_splitting=False, merge_all=None, updown_layout=True, gauss_width=0.1, lorentz_width=None, n_valence=None, core_hole_width='campbell-papp', mld=False, layout_kind='constrained', **kwargs)[source]
- Parameters:
filename (str | None)
show (bool | None)
- generate_data(interpolate_to_fermi=True, interpolation_threshold=0.0001, zero_below=True, zero_below_num=50, zero_below_energy=25, no_core_splitting=False, merge_all=None, gauss_width=0.0, lorentz_width=None, n_valence=None, core_hole_width='campbell-papp', mld=False)[source]
- compute_data(interpolate_to_fermi=True, interpolation_threshold=0.0001, zero_below=True, zero_below_num=50, zero_below_energy=25, no_core_splitting=False, merge_all=None, gauss_width=0.0, lorentz_width=None, n_valence=None, core_hole_width='campbell-papp', mld=False)[source]
core energies
- _abc_impl = <_abc._abc_data object>