This repository contains the numerical data and plotting code
used in our work:

Resonant level model coupled to a Sachdev-Ye-Kitaev bath (Anastasia Enckell and Stefan Kehrein, 2026)

## Structure
- `src/` 	— spectral-density definitions, plots and data generation 
- `parameters/` — parameter sets for different figures
- `data/` 	— precomputed spectral functions
- `figures/` 	— final figures used in the paper
- `notebooks/`  — notebooks used to generate figures


All figures can be regenerated from the precomputed data files.

Notebooks correspond to figures in the manuscript as following:
	bath_q.nb		- Figure 2(a)
	impurity_q.nb 		- Figure 2(b)
	bath_T.nb 		- Figure 2(c)
	impurity_T. 		- Figure 2(d)
	impruity_dynamics.nb    - Figure 3


## Reproducing a figure without recomputing the data:
	Evaluate all cells in the corresponding notebook, 
	except those marked (* generate the data *).


## Generating new data and plots:
	1) Change the parameters in the corresponding file in `parameters/` 
		fig_q_dependence.wl  		- for the density of states at fixed temperature
		fig_T_dependence.wl  		- for the density of states at fixed q
		fig_impurity_dynamics.wl    	- for impurity dynamics

	2) Run all cells in a chosen notebook. 
