.. _examples: =================== Examples =================== Here we outline the examples available. Examples from our CPC paper --------------------------- The original examples from our Computer Physics Communications paper [1]_ are kept in our `GitHub repository `_. These are scripts that compute XAS and RIXS for particular physical models including: * Single atom model for `Ni `_. See Ref. [1]_ section 5.1. * A two-site `Ir-Ir cluster `_ model. See Ref. [1]_ section 5.2. This allows the modeling of dimer excitations in RIXS where electrons transition between atoms. We used this model in our manuscript on Ba5AlIr2O11. [2]_ * `Anderson impurity model `_. See Ref. [1]_ section 5.3. This addresses Ba2YOsO6. Extended examples ----------------- Additional examples are available `here `_. Thus far we have addressed. * Single atom and Anderson impurity models for `Ba2YOsO6 `_. * Two-site cluster for `Ba3InIr2O9 `_. * Single atom model for `La2NiO4 `_ taken from Ref. [3]_ extended to show how spin direction can influence XAS and RIXS spectra. * Single atom model for `LaNiO3 heterostructures `_ taken from Ref. [4]_. * Heavy fermion example for `plutonium O-edge `_ * Single atom model for `pyrochlore iridates `_ taking into account differently oriented octahedra. * Single atom model for O-edge RIXS on `URu2Si2 from `_ including both 5f and 5d orbitals from Ref. [5]_. * Single atom model for `L-edge RIXS on URu2Si2 `_ from Ref. [6]_. .. rubric:: Footnotes .. [1] Y. Wang et al., `Comput. Phys. Commun 243, 151-165 (2019) `_ .. [2] Y. Wang et al., `Phys. Rev. Lett. 122, 106401 (2019) `_. .. [3] G. Fabbris et al., `Phys. Rev. Lett. 118, 156402 (2017) `_ .. [4] G. Fabbris et al., `Phys. Rev. Lett. 117, 147401 (2016) `_ .. [5] L. Andrew Wray et al., `Phys. Rev. Lett. 114, 236401 (2015) `_ .. [6] Y. Wang et al., `Phys. Rev. B 96, 085146 (2017) `_