https://github.com/arnaudon/simplicial-kuramoto
Tool to numerically solve and analyse simplicial Kuramoto models.
https://github.com/arnaudon/simplicial-kuramoto
complex-network higher-order-interactions kuramoto-model simplicial-complex syncrhonization
Last synced: 16 days ago
JSON representation
Tool to numerically solve and analyse simplicial Kuramoto models.
- Host: GitHub
- URL: https://github.com/arnaudon/simplicial-kuramoto
- Owner: arnaudon
- Created: 2019-03-19T09:21:43.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-31T08:28:01.000Z (almost 2 years ago)
- Last Synced: 2025-04-02T14:21:34.934Z (about 2 months ago)
- Topics: complex-network, higher-order-interactions, kuramoto-model, simplicial-complex, syncrhonization
- Language: Python
- Homepage: https://arnaudon.github.io/simplicial-kuramoto/
- Size: 100 MB
- Stars: 19
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://doi.org/10.5281/zenodo.7988477)
[](https://arnaudon.github.io/simplicial-kuramoto/)
[](https://badge.fury.io/py/simplicial-kuramoto)
[](https://codecov.io/gh/arnaudon/simplicial-kuramoto)
[](https://github.com/arnaudon/simplicial-kuramoto/actions)
[](https://github.com/psf/black)# Simplicial Kuramoto
This repository contains the code written to produce the figures of
```
Connecting Hodge and Sakaguchi-Kuramoto: a mathematical framework for coupled
oscillators on simplicial complexes
by: Alexis Arnaudon, Robert L. Peach, Giovanni Petri and Paul Expert
at: https://arxiv.org/pdf/2111.11073.pdf
```It numerically solves the Kuramoto model on simplicial complexes of order 1 (a graph) and 2 (a graph with faces), with node/edge/face weights and frustration.
A small suite of analysis tool is available to compute the Hodge decomposition of the solution, the simplicial order parameter or the largest Lyapunov exponent.It also contains the models introduced in
```
A unified framework for Simplicial Kuramoto models
by: Marco Nurisso, Alexis Arnaudon, Maxime Lucas, Robert L. Peach, Paul Expert, Francesco Vaccarino, Giovanni Petri
at: https://arxiv.org/abs/2305.17977
```and the connectome example in `example/connectome_example`, based on
```
M. Pope, M. Fukushima, R. F. Betzel, and O. Sporns,
Modular origins of high-amplitude cofluctuations in fine-scale functional connectivity dynamics, Proc. Natl. Acad.
Sci. U.S.A. 118, e2109380118 (2021).
```# Installation
To install, it is on pypi.org, hence just do:
```
pip install simplicial-kuramoto
```# Usage
The documentation is available here: https://arnaudon.github.io/simplicial-kuramoto/, and the structure of the code is as follow:
- The module `simplicial_complex.py` extends networkx graph to include faces and computed cached values of various graph theoretical operators such as boundary operators, or Hodge Laplacians.
- The module `meausures.py` contains some measurements functions of the dynamics such as order parameters.
- The module `graph_generator.py` contains a few functions to build simplicial complexes.
- The module `integrators.py` solve the Kuramoto model on a given simplicial complex.
- The module `plotting.py` has some plotting functions of the simplicial complex and the Kuramoto solution.
- The module `frustration_scan.py` contains analysis tools to study frustration of simplicial Kuramoto.In the folder `examples` are present scripts to generate the figures of the first paper as well as run some of the models of the second paper.