Skip to main content

Stochastic Processes Simulation and Visualisation

Project description

aleatory

PyPI version fury.io Downloads example workflow Documentation Status

Overview

The aleatory (/ˈeɪliətəri/) Python library provides functionality for simulating and visualising stochastic processes. More precisely, it introduces objects representing a number of stochastic processes and provides methods to:

  • generate realizations/trajectories from each process —over discrete time sets
  • create visualisations to illustrate the processes properties and behaviour

Currently, aleatory supports the following stochastic processes in one dimension:

From v1.1.1 aleatory supports the following 2-d stochastic processes:

Installation

Aleatory is available on pypi and can be installed as follows

pip install aleatory

Dependencies

Aleatory relies heavily on

  • numpy for random number generation
  • scipy and statsmodels for support for a number of one-dimensional distributions.
  • matplotlib for creating visualisations

Compatibility

Aleatory is tested on Python versions 3.8, 3.9, 3.10, and 3.11

Quick-Start

Aleatory allows you to create fancy visualisations from different stochastic processes in an easy and concise way.

For example, the following code

from aleatory.processes import BrownianMotion

brownian = BrownianMotion()
brownian.draw(n=100, N=100, colormap="cool", figsize=(12,9))

generates a chart like this:

For more examples visit the Quick-Start Guide.

If you like this project, please give it a star! ⭐️

Thanks for Visiting! ✨

Connect with me via:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aleatory-1.2.3.tar.gz (75.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aleatory-1.2.3-py3-none-any.whl (105.2 kB view details)

Uploaded Python 3

File details

Details for the file aleatory-1.2.3.tar.gz.

File metadata

  • Download URL: aleatory-1.2.3.tar.gz
  • Upload date:
  • Size: 75.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for aleatory-1.2.3.tar.gz
Algorithm Hash digest
SHA256 0eeafddb1d7b15822d816c47123f933a928f68643bdb6e38d4a25b4ddd385e57
MD5 212b2555c1dc20eca47efff3f428efdb
BLAKE2b-256 07e85fca710ca4131cdc71c38d1a23f84cd54d55377912c7fcf98729e914d57c

See more details on using hashes here.

File details

Details for the file aleatory-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: aleatory-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 105.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for aleatory-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 07a05f6187a9a91674604a74e3bdacc3605f6f6edd159e75ab4cad0e91b58066
MD5 46717f772a65b53c891ea34be2c8a61e
BLAKE2b-256 09eb4882b1f7ffa81b7d2e26330c4cdeebe2f8cc065a9e90453deaba444208d5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page