pychastic

Pychastic is a stochastic differential equations integrator written entirely in python.

https://github.com/radostw/stochastic

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 7 committers (14.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.9%) to scientific vocabulary

Keywords

fluid-dynamcis fluid-mechanics jax molecular-dynamics-simulation physics python soft-matter stochastic-differential-equation stokesian-hydrodynamics
Last synced: 6 months ago · JSON representation ·

Repository

Pychastic is a stochastic differential equations integrator written entirely in python.

Basic Info
Statistics
  • Stars: 12
  • Watchers: 2
  • Forks: 3
  • Open Issues: 4
  • Releases: 0
Topics
fluid-dynamcis fluid-mechanics jax molecular-dynamics-simulation physics python soft-matter stochastic-differential-equation stokesian-hydrodynamics
Created over 5 years ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation

README.md

Tests

PyChastic

All python stochastic differential equations (SDE) solver.

Built for stochastic simulations of hydrodynamically interacting brownian particles (molecular dynamics), but can do much more (such as option pricing in stochastic volitality models).

Uses jax, jax.jit and jax.grad for performace and ease of use.

Usage

```Python import pychastic problem = pychastic.sdeproblem.SDEProblem(lambda x: 0.2x,lambda x: 0.5x,1.0,2.0) solver = pychastic.sdesolver.SDESolver() trajectory = solver.solve(problem)

import matplotlib.pyplot as plt plt.plot(trajectory['timevalues'],trajectory['solutionvalues']) plt.show() ```

License

This software is licensed under MIT license

Copyright (c) Radost Waszkiewicz and Maciej Bartczak (2021).

How to cite

Waszkiewicz, R., Bartczak M., Kolasa K. and Lisicki M. Pychastic: Precise Brownian Dynamics using Taylor-Ito integrators in Python; SciPost Physics Codebases (2023)

https://scipost.org/SciPostPhysCodeb.11

bibtex @article{Waszkiewicz_2023, title = {Pychastic: Precise Brownian dynamics using Taylor-It{\=o} integrators in Python}, author = {Waszkiewicz, Radost and Bartczak, Maciej and Kolasa, Kamil and Lisicki, Maciej}, year = 2023, journal = {SciPost Physics Codebases}, pages = {11} }

Owner

  • Login: RadostW
  • Kind: user
  • Company: University of Warsaw

Mathematician / physicist / computer scientist. PhD student studying soft matter at University of Warsaw

Citation (CITATION.cff)

cff-version: 1.2.0

message: "If you use Pychastic, please cite it as below."

authors:
- family-names: "Waszkiewicz"
  given-names: "Radost"
  orcid: "https://orcid.org/0000-0002-0376-1708"
  
- family-names: "Bartczak"
  given-names: "Maciej"
  orcid: "https://orcid.org/0000-0003-1081-3294"
  
- family-names: "Kolasa"
  given-names: "Kamil"
  orcid: "https://orcid.org/0000-0002-2281-1539"
  
- family-names: "Lisicki"
  given-names: "Maciej"
  orcid: "https://orcid.org/0000-0002-6976-0281"
  
title: "Pychastic: Precise Brownian Dynamics using Taylor-Ito integrators in Python"

doi: 10.21468/SciPostPhysCodeb.11
date-released: 2022-09-09
url: "https://scipost.org/10.21468/SciPostPhysCodeb.11"

publisher: SciPost
pages: 11
year: 2023
journal: SciPost Phys. Codebases

GitHub Events

Total
  • Issues event: 4
  • Watch event: 1
  • Issue comment event: 4
  • Push event: 10
Last Year
  • Issues event: 4
  • Watch event: 1
  • Issue comment event: 4
  • Push event: 10

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 346
  • Total Committers: 7
  • Avg Commits per committer: 49.429
  • Development Distribution Score (DDS): 0.306
Past Year
  • Commits: 11
  • Committers: 2
  • Avg Commits per committer: 5.5
  • Development Distribution Score (DDS): 0.182
Top Committers
Name Email Commits
Radost Waszkiewicz r****z@g****m 240
Maciej Bartczak m****3@s****l 56
Maciej Bartczak m****0@g****m 43
RadostW 5****W 4
kxmalz@gmail.com k****z@g****m 1
G. D. McBain g****n@p****e 1
Bernard Vander Beken b****d@j****t 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 5
  • Total pull requests: 9
  • Average time to close issues: 40 minutes
  • Average time to close pull requests: 4 days
  • Total issue authors: 4
  • Total pull request authors: 3
  • Average comments per issue: 2.6
  • Average comments per pull request: 0.0
  • Merged pull requests: 9
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 0
  • Average time to close issues: 40 minutes
  • Average time to close pull requests: N/A
  • Issue authors: 3
  • Pull request authors: 0
  • Average comments per issue: 1.33
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ianosd (1)
  • RadostW (1)
  • sdementen (1)
  • turczyneq (1)
Pull Request Authors
  • RadostW (7)
  • jawn (1)
  • gdmcbain (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 10 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 7
  • Total maintainers: 1
pypi.org: pychastic

Solvers for stochastic differential equations

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 10 Last month
Rankings
Dependent packages count: 10.1%
Forks count: 16.9%
Stargazers count: 18.5%
Average: 18.8%
Dependent repos count: 21.5%
Downloads: 26.7%
Maintainers (1)
Last synced: 6 months ago

Dependencies

docs/requirements.txt pypi
  • docutils ==0.16
  • jax ==0.2.13
  • jaxlib ==0.1.66
  • matplotlib ==3.4.2
  • numpy ==1.20.3
  • pydata-sphinx-theme ==0.7.2
  • sortedcontainers ==2.3.0
  • sphinx-book-theme ==0.1.7
  • sphinx-copybutton ==0.3.1
  • sphinx-prompt ==1.4.0
  • sphinxcontrib-applehelp ==1.0.2
  • sphinxcontrib-devhelp ==1.0.2
  • sphinxcontrib-htmlhelp ==2.0.0
  • sphinxcontrib-jsmath ==1.0.1
  • sphinxcontrib-napoleon ==0.7
  • sphinxcontrib-qthelp ==1.0.3
  • sphinxcontrib-serializinghtml ==1.1.5
  • tqdm ==4.60.0
.github/workflows/tests.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
requirements.txt pypi
  • PyGRPY >=0.0.5
  • jax >=0.4.1
  • jaxlib >=0.1.66
  • matplotlib >=3.3.4
  • numpy >=1.19
  • sortedcontainers >=2.3.0
  • tqdm >=4.60.0
setup.py pypi
  • jax *
  • jaxlib *
  • numpy *
  • sortedcontainers *
  • tqdm *