https://github.com/timvwese/dyson-code
Julia codes to accompany "..."
https://github.com/timvwese/dyson-code
Last synced: 4 months ago
JSON representation
Julia codes to accompany "..."
- Host: GitHub
- URL: https://github.com/timvwese/dyson-code
- Owner: TimVWese
- License: mit
- Created: 2025-09-18T15:36:59.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-25T07:24:13.000Z (8 months ago)
- Last Synced: 2025-09-25T09:21:24.999Z (8 months ago)
- Language: Julia
- Size: 544 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dyson-code
Julia codebase and scripts to accompany the paper *Restoring thermodynamic structure in stochastic dynamics*.
## How to use
In `src/` the main functionality is written.
The `scripts/` folder contains script that use this functionality to generate the figures as shown in the manuscript.
Run `run_all.sh` as a bash script to initialise the Julia project and run all scripts.
The resulting figures can be found under `results/figures`.
To test other set-ups, the `default_initialisation()` function in `src/dyson.jl` can be edited.
Read dyson.pdf for a general overview of the functionality, and use in-code docstrings for a detailed API guide.
## Figure index:
* Figure 1: `scripts/entropy_figures.jl`
* Figure 2: `scripts/H_figure.jl`
* Figure 3: `scripts/statistics.jl`
* Figure 4: `scripts/transition.jl`
* Figure 5: `scripts/steady_state.jl`
* Figure 6: `scripts/convergence.jl`
## Reproducibility
Each figure is generated with a seed started at 1234 as defined in `dyson-setup`.
The results in the manuscript are generated with `julia v1.11.7` aand the package versions as defined in the `[compat]` section of `Project.toml`.