SiSyPHE

SiSyPHE: A Python package for the Simulation of Systems of interacting mean-field Particles with High Efficiency - Published in JOSS (2021)

https://github.com/antoinediez/sisyphe

Science Score: 95.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 10 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

agent-based-model agent-based-simulation gpu mean-field particles self-organization swarming

Scientific Fields

Mathematics Computer Science - 37% confidence
Last synced: 4 months ago · JSON representation

Repository

Simulation of Systems of interacting mean-field Particles with High Efficiency

Basic Info
Statistics
  • Stars: 16
  • Watchers: 1
  • Forks: 2
  • Open Issues: 1
  • Releases: 1
Topics
agent-based-model agent-based-simulation gpu mean-field particles self-organization swarming
Created over 4 years ago · Last pushed about 2 years ago
Metadata Files
Readme Contributing

README.md

Simulation of Systems of interacting mean-field Particles with High Efficiency

logo

Please visit the website for a full documentation.


The SiSyPHE library builds on recent advances in hardware and software for the efficient simulation of large scale interacting particle systems, both on the GPU and on the CPU. The implementation is based on recent libraries originally developed for machine learning purposes to significantly accelerate tensor (array) computations, namely the PyTorch package and the KeOps library. The versatile object-oriented Python interface is well suited to the comparison of new and classical many-particle models, enabling ambitious numerical experiments and leading to novel conjectures. The SiSyPHE library speeds up both traditional Python and low-level implementations by one to three orders of magnitude for systems with up to several millions of particles.

mill

Citation

If you use SiSyPHE in a research paper, please cite the JOSS publication :

@article{Diez2021, doi = {10.21105/joss.03653}, url = {https://doi.org/10.21105/joss.03653}, year = {2021}, publisher = {The Open Journal}, volume = {6}, number = {65}, pages = {3653}, author = {Antoine Diez}, title = {`SiSyPHE`: A Python package for the Simulation of Systems of interacting mean-field Particles with High Efficiency}, journal = {Journal of Open Source Software} }

Diez, A., (2021). SiSyPHE: A Python package for the Simulation of Systems of interacting mean-field Particles with High Efficiency. Journal of Open Source Software, 6(65), 3653, https://doi.org/10.21105/joss.03653

DOI

Installation

Requirements

  • Python 3 with packages NumPy and SciPy
  • PyTorch : version>= 1.5
  • PyKeops : version>= 1.5

Using pip

In a terminal, type:

pip install sisyphe

On Google Colab

The easiest way to get a working version of SiSyPHE is to use the free virtual machines provided by Google Colab.

  1. On a new Colab notebook, navigate to Edit→Notebook Settings and select GPU from the Hardware Accelerator drop-down.

  2. Install PyKeops with the Colab specifications first by typing

!pip install pykeops[colab]

  1. Install SiSyPHE by typing

!pip install sisyphe

Testing the installation

In a Python terminal, type

python import sisyphe sisyphe.test_sisyphe()

band

Contributing

Contributions to make SiSyPHE grow are warmly welcome! Examples of possible (and ongoing) developments include the following.

  • The implementation of new models.

  • The implementation of more complex boundary conditions and of models on non-flat manifolds.

  • An improved visualization method (currently only basic visualization functions relying on Matplotlib are implemented).

Contributions can be made by opening an issue on the GitHub repository, via a pull request or by contacting directly the author.

Author

Acknowledgments

The development of this library would not have been possible without the help of Jean Feydy, his constant support and precious advice. This project was initiated by Pierre Degond and has grown out of many discussions with him.

Owner

  • Name: Antoine Diez
  • Login: antoinediez
  • Kind: user
  • Company: Kyoto University

Researcher at the Kyoto University Institute for the Advanced Study of Human Biology (ASHBi)

JOSS Publication

SiSyPHE: A Python package for the Simulation of Systems of interacting mean-field Particles with High Efficiency
Published
September 28, 2021
Volume 6, Issue 65, Page 3653
Authors
Antoine Diez
Department of Mathematics, Imperial College London, South Kensington Campus, London, SW7 2AZ, UK
Editor
Pierre de Buyl ORCID
Tags
GPU particles mean-field self-organization swarming

GitHub Events

Total
Last Year

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 103
  • Total Committers: 2
  • Avg Commits per committer: 51.5
  • Development Distribution Score (DDS): 0.01
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Antoine Diez a****z@f****r 102
Daniel S. Katz d****z@i****g 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 4
  • Total pull requests: 1
  • Average time to close issues: 8 days
  • Average time to close pull requests: 9 minutes
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 3.5
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • junghans (4)
Pull Request Authors
  • danielskatz (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 18 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 9
  • Total maintainers: 1
pypi.org: sisyphe

Simulation of Systems of interacting mean-field Particles with High Efficiency

  • Versions: 9
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 18 Last month
Rankings
Dependent packages count: 7.3%
Stargazers count: 14.9%
Forks count: 19.2%
Dependent repos count: 22.1%
Average: 28.0%
Downloads: 76.3%
Maintainers (1)
Last synced: 4 months ago

Dependencies

doc/requirements.txt pypi
  • matplotlib >=3.4.2
  • pykeops >=1.5
  • scipy >=1.6.3
  • sphinx-gallery >=0.9.0
  • sphinxcontrib-bibtex >=2.3.0
  • sphinxcontrib-httpdomain >=1.7.0
  • torch >=1.8.1
setup.py pypi
  • matplotlib *
  • numpy *
  • pykeops *
  • scipy *
  • torch *
.github/workflows/testing.yaml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
requirements.txt pypi