This data repository contains the original figures, numerical (raw) data, scripts that where used to calculate this data, and plot scripts to reproduce the figures from the publication "General Shiba mapping for on-site four-point correlation functions" at Physical Review Research. The preprint is available on arXiv where also the LaTeX source files can be found.

Figures Fig.1 and Fig.4b have been created with the Inkscape software. Fig.2, Fig.4 and Fig.6 have been edited with the Freeform software.

For the Python scripts, the following non-standard libraries have been used: numpy 1.26.4 and matplotlib 3.8.4.

The structure of the repository is the following:
In the folder "Data" the data that was used for creating the figures of the paper are stored.
In the folder "Scripts" the scripts for creating and plotting the data are stored.
In the folder "Figures" the original figures used in the publication are stored.

The content in Data is the following:
| along_pseudo_spin.npz		used for Fig.2, Fig.4a and Fig.4c
| along_pseudo.npz		used for Fig.2, Fig.4a and Fig.4c
| chis_atrractive.npz		used for Fig.2, Fig.4a, Fig.4c and Fig.8
| chis_c_rep_plot.npz		used for Fig.2, Fig.4a, Fig.4c and Fig.8
| chis_pp_plot.npz		used for Fig.2
| chis_s_plot.npz		used for Fig.2, Fig.4a and Fig.4c
| pseudo_div_from_att_plot.npz 	used for Fig.2, Fig.4a, Fig.4c and Fig.8
| asympt_att.npz 		used for Fig.8
| asympt_rep.npz		used for Fig.8
| divs_planes.npz		used for Fig.4, Fig.5 and Fig.6
| divs_sx.npz			used for Fig.5
| divs_pair.npz			used for Fig.5
| 2ndstruc.npz			used for Fig.9

The content in Scripts is the following:
| Divergences_longitudinal_channel.ipynb	searches for divergences and pseudo-divergences in the longitudinal channel of the Hubbard atom in the phase space of the alpha, r, U
| Divergences_transversal_channel.ipynb		searches for divergences and pseudo-divergences in the transversal spin channel or the pairing channel of the Hubbard atom in the phase space of the alpha, r, U
| plot_extremes.ipynb 				creates Fig.2, Fig.3, Fig.4 a) and Fig.4c)
| plot_T_evolution.ipynb			creates Fig.8
| plot_divs.ipynb				creates Fig.4 d), e) and f), Fig.5 and Fig.6
| plot_divs_2ndstructur.ipynb			creates Fig.9
| Divs_HF_finite_omega.ipynb			creates data and figure for Fig.7
| library/al.py					contains the definitions/calculation for the generalized susceptibilities and Green's function in the Hubbard Atom