This repository contains the code used for the analysis presented in the paper:
"Deeper but smaller: Higher-order interactions increase linear stability but shrink basins"
by Y. Zhang, P. S. Skardal, F. Battiston, G. Petri, and M. Lucas
Sci. Adv. 10, eado8049 (2024)
notebooks/
: notebooks used to produce the figures and simple simulationscode/
: modules with functions used in the notebooks and heavier simulation scriptsdata/
: simulation outputs saved for plotting
The code was tested for Python 3.9 and the dependencies specified in requirements.txt.
In particular, the code relies on the XGI library and the SciPy ODE integration functions.