stochasticprocesss
stochasticprocess is a package for stochastic processes.
Usage Examples
from stochasticprocess.poisson import get_event_times, get_probability
# Example 1: Generate event times for a Poisson process with rate 2.0 until 5 events occur
rate = 2.0
event_count = 5
event_times = get_event_times(rate, event_count)
print(f"Event times for rate={rate} and event_count={event_count}: {event_times}")
# Example 2: Generate event times for a Poisson process with rate 2.0 up to time 10
max_time = 10.0
event_times = get_event_times(rate, event_count, max_time)
print(f"Event times for rate={rate} and max_time={max_time}: {event_times}")
# Example 3: Calculate the probability of observing exactly 5 events in time 10 with rate 2.0
event_count = 5
max_time = 10.0
probability = get_probability(rate, event_count, max_time)
print(f"Probability of observing exactly {event_count} events in time t={max_time} with rate={rate}: {probability:.4f}")
Metadata
Release files for stochasticprocess 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| stochasticprocess-0.2.0.tar.gz | 2.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stochasticprocess-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.9 kB
Release files / stochasticprocess-0.2.0.tar.gz
| Download URL | stochasticprocess-0.2.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0927e0f7b0cf627ab8494b995e025b7340fc7c00a4880858b98253fa28be832
|
|
BLAKE2b-256 checksum How to use checksums |
7f83c9504c678b07ce9c20b3627fc47b21d7d64c9572a712374bd101516d6c85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / stochasticprocess-0.2.0-py3-none-any.whl
| Download URL | stochasticprocess-0.2.0-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
476abeef65550b23e2a4f84ce3afb243338d19af969059269191b1037fb51ead
|
|
BLAKE2b-256 checksum How to use checksums |
2edadbda55b24d368b78c905a997d98f9934c0f37f5a48c4b335352da241506a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for stochasticprocess 0.2.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.