Skip to main content

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 »

Screenshot

Installation

This package is pip-installable.

  1. Install via pip.
    python3 -m pip install stp
    
  2. Import the package
    import stp
    

(back to top)

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.

(back to top)

Roadmap

Refer to the Notion Roadmap for the state of the project.

(back to top)

Contact

Created by Jonathan Delgado.

Back to top

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

stp-0.0.1.7.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

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

stp-0.0.1.7-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file stp-0.0.1.7.tar.gz.

File metadata

  • Download URL: stp-0.0.1.7.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.3 Darwin/25.3.0

File hashes

Hashes for stp-0.0.1.7.tar.gz
Algorithm Hash digest
SHA256 b2820cb62f03274adc0d2692ff1093f7aaa81ba4198da0671412d92236a45465
MD5 b14f5a4b52c3462dba2bc7076933e492
BLAKE2b-256 eba826c12ebb0f10487f25790ec599e8393f691c8661f85d852e4a7907d12dd9

See more details on using hashes here.

File details

Details for the file stp-0.0.1.7-py3-none-any.whl.

File metadata

  • Download URL: stp-0.0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.3 Darwin/25.3.0

File hashes

Hashes for stp-0.0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 677338d432be65054f49c8321d5416fe2b380e036217451e08833eabca512316
MD5 e54a0073b5026eb54b99cc0162fa2ffb
BLAKE2b-256 319b82a941671a8695ad8f1e1283f5e92bc58747a5e215c3a8d25db5c9442000

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