Stochastic processes in Python
Project description
stopro — Elementary Stochastic Processes
stopro is a small Python library for generating and simulating common (multivariate) stochastic processes.
Currently included processes:
- Wiener process
- Ornstein–Uhlenbeck process
- Integrated Ornstein–Uhlenbeck process
- Exponential Ornstein–Uhlenbeck process
- Geometric Brownian Motion
- Colored Geometric Brownian Motion
- Gillespie Replicator
- Kimura Replicator
- White Replicator
- Colored Replicator
- Multispecies Moran process
(discrete particle kinetics & diffusion approximation) - Competitive Lotka–Volterra process
(discrete particle kinetics & diffusion approximation)
Examples and documentation are provided as Jupyter notebooks.
Quick start (recommended)
This project uses uv, a fast Python package manager and virtual environment tool. You need to install uv on your system first. When that's done:
git clone https://github.com/dirkbrockmann/stopro.git
cd stopro
make notebook
Using stopro in your own code
import stopro
Installation via pip
You can now install stopro directly from PyPI:
pip install stopro
To install the latest development version from source:
pip install git+https://github.com/dirkbrockmann/stopro.git
Or clone and work with the code locally:
git clone https://github.com/dirkbrockmann/stopro.git
cd stopro
pip install -e .
Running the examples
To run the Jupyter notebook examples, install stopro with the extra dependencies:
pip install "stopro[examples]"
This will install all required packages for the example notebooks.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stopro-0.4.9.tar.gz.
File metadata
- Download URL: stopro-0.4.9.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2f34831e45bad1f34c98dad6c1d6724a8742858f23a38b3508d84d89612e2f4
|
|
| MD5 |
8f1b63be7102b5ba18891fd0b37c8989
|
|
| BLAKE2b-256 |
38e0ef50fe76bf9cc3f4622c3f8ab8382b0f85f09ea28e4a8e99640041e577b3
|
File details
Details for the file stopro-0.4.9-py3-none-any.whl.
File metadata
- Download URL: stopro-0.4.9-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f00b58de82b72c2f18040cd9d6ea631871c6acf42bc0e1cbc1855b16deef5e21
|
|
| MD5 |
aefc5b6c9599b6df6cf1b76ad468042f
|
|
| BLAKE2b-256 |
9146328b3cad2037a2acb7b91ae9e4eb7b254814f8ac03909847b33f977b0775
|