Skip to content

Code associated with 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

Notifications You must be signed in to change notification settings

maximelucas/basins_and_triangles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deeper but smaller: Higher-order interactions increase linear stability but shrink basins

DOI

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)

Contents

  • notebooks/: notebooks used to produce the figures and simple simulations
  • code/: modules with functions used in the notebooks and heavier simulation scripts
  • data/: simulation outputs saved for plotting

Dependencies

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.

About

Code associated with 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

Resources

Stars

Watchers

Forks

Packages

No packages published