Stochastic Thermodynamics in Python
Project description
Stochastic Thermodynamics in Python (STP)
Python library to construct random quantities and track their information-theoretic properties. These objects include continuous time rate matrices, discrete time transition matrices, and matrices representing 3-state self assembly models.
Status: in progress
·
Documentation
·
Notion Roadmap »
Installation
This package is pip-installable.
- Install via pip.
python3 -m pip install stp
- Import the package
import stp
Usage
Generating a 3-state time-dependent self-assembly model with this package is as simple as writing
import numpy as np
import stp
# Dimensionless, time-dependent parameter for self assembly matrix
alpha = lambda t : np.cos(t) + 2
W = stp.self_assembly_rate_matrix(alpha)
# The initial matrix
print(W(0))
# [[-2. 3. 9.]
# [ 1. -3. 0.]
# [ 1. 0. -9.]]
# A later matrix
print(W(1))
# [[-2. 2.54030231 6.45313581]
# [ 1. -2.54030231 0. ]
# [ 1. 0. -6.45313581]]
For more examples, please refer to the Documentation.
Roadmap
Refer to the Notion Roadmap for the state of the project.
Contact
Created by Jonathan Delgado.
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
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 stp-0.0.1.5.tar.gz.
File metadata
- Download URL: stp-0.0.1.5.tar.gz
- Upload date:
- Size: 27.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.13.5 Darwin/25.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6117cdb0a796362f8aea72559f2cf91f0807654e978d0b5806020bc16e953ff5
|
|
| MD5 |
53c06910c0b3e2c8d4b85bb1aa042121
|
|
| BLAKE2b-256 |
d4f8654034cffb848f74e6673d73e5f04ca04556a47434651b1ce77f9653a6a7
|
File details
Details for the file stp-0.0.1.5-py3-none-any.whl.
File metadata
- Download URL: stp-0.0.1.5-py3-none-any.whl
- Upload date:
- Size: 29.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.13.5 Darwin/25.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
997ef03250c9cc80fcab6ac77f0479e4ffa374c9944e8d3c02d58a0704c99bc8
|
|
| MD5 |
b3d9ffcfaddf923e46ec1c7d24c4e633
|
|
| BLAKE2b-256 |
ea6bd44676368fdd579b1c028ec8fc7cfa7f629e48832b119fc9e6b6e5f27eda
|