This repository contains the notebooks, simulation scripts, and figure exports used to generate ASWIFT manuscript figures. Its purpose is transparency and reproducibility: each figure notebook is kept with the data-processing and simulation code used to produce it.
Set up Python 3.12 and install a C++ compiler.
Install requirements:
pip install -r requirements.txtPrimary figure notebooks live in figures/figure1.ipynb through
figures/figure5.ipynb. Supporting information notebooks live in
figures/SI_1.ipynb onward.
Rendered outputs are collected in figures/figure_exports/.
To extract peaks and generate JSON/CSV outputs, edit
peak_extraction/config/example_config.toml, then run:
python -m peak_extraction.app -c peak_extraction/config/example_config.toml --saveTo visualize individual fits:
streamlit run analysis/fit_visualization.py "peak_extraction/config/example_config.toml"Use a different config path in the command when needed.
Run one simulation config directly:
python -m simulation.simul_app -c simulation/simulation_config/simul_config.toml --saveRun the manuscript simulation and statistics workflow:
python -m simulation.workflow -c simulation/workflow_config/paper_simulations.tomlTo recompute only the statistics from existing simulation outputs:
python -m simulation.workflow -c simulation/workflow_config/paper_simulations.toml --skip-simulationsThe binding-curve summary uses kind = "peak" in the workflow config; all other
configured summaries use peak-height error statistics.