Skip to main content

Lotka-Volterra simulator

arXiv GitHub version GitHub commits GPLv3 license PyPI version Website florent-leclercq.eu

Simulator of the Lotka-Volterra prey-predator system, with demographic and observational noise and biases.

Installation

This is a standard, low-weight python package, written with python 3. It is packaged at https://pypi.org and can be installed using pip:

pip install lotkavolterra-simulator

Alternatively it is possible to clone the Github repository and to install using:

pip install .

Documentation

The model is described in section III of Leclercq (2022). The jupyter notebook simulations.ipynb illustrates how to run the code and plot prey and predator theoretical and observed number functions.

This code has been designed to illustrate concepts in simulation-based inference. It is used in pySELFI from version 2.0.

Limited user-support may be asked from the main author, Florent Leclercq.

Contributors

Reference

To acknowledge the use of lotkavolterra_simulator in research papers, please cite the paper Leclercq (2022):

Simulation-based inference of Bayesian hierarchical models while checking for model misspecification
F. Leclercq
Proceedings of the 41st International Conference on Bayesian and Maximum Entropy methods in Science and Engineering (MaxEnt2022), 18-22 July 2022, Paris, France
Physical Sciences Forum 5, 4 (2022), arXiv:2209.11057 [astro-ph.CO] [ADS] [pdf]

@ARTICLE{lotkavolterra_simulator,
    author = {{Leclercq}, Florent},
    title = "{Simulation-based inference of Bayesian hierarchical models while checking for model misspecification}",
    journal = {Physical Sciences Forum},
    volume = 5,
    pages = 4,
    doi = {10.3390/psf2022005004},
    keywords = {Statistics - Methodology, Astrophysics - Instrumentation and Methods for Astrophysics, Mathematics - Statistics Theory, Quantitative Biology - Populations and Evolution, Statistics - Machine Learning},
    year = 2022,
    month = sep,
    eid = {arXiv:2209.11057},
    pages = {arXiv:2209.11057},
    archivePrefix = {arXiv},
    eprint = {2209.11057},
    primaryClass = {stat.ME},
    }

License

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. By downloading and using lotkavolterra_simulator, you agree to the LICENSE, distributed with the source code in a text file of the same name.

Metadata

Release files for lotkavolterra-simulator 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lotkavolterra-simulator 1.0
File Size Uploaded Provenance Actions
lotkavolterra_simulator-1.0.tar.gz 20.5 kB Without provenance Details for lotkavolterra_simulator-1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lotkavolterra-simulator 1.0
File Interpreter ABI Platform Actions
lotkavolterra_simulator-1.0-py3-none-any.whl Python 3 none any Details for lotkavolterra_simulator-1.0-py3-none-any.whl

Total release size: 40.0 kB

Release files / lotkavolterra_simulator-1.0.tar.gz

Download URL lotkavolterra_simulator-1.0.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
073b991206f3cd4a282b36dd4f687d41a7a327ba79e946eec56eda2009d49772
BLAKE2b-256 checksum
How to use checksums
31142bcf707ae48173722619117e3426a1eb13a2e1b56f06e9b118b30e8a671f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Release files / lotkavolterra_simulator-1.0-py3-none-any.whl

Download URL lotkavolterra_simulator-1.0-py3-none-any.whl
Size 19.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c659f8a7c7c01fd3afa7ba673f37e003b22bfd3894e46770040befe9e0e6b40e
BLAKE2b-256 checksum
How to use checksums
148647b3d1ed368b46e05fc5352b4d5470b9b040d078585f7d87de057094494a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Security for lotkavolterra-simulator 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page