Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aswift_figures

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.

Setup

Set up Python 3.12 and install a C++ compiler.

Install requirements:

pip install -r requirements.txt

Figure Notebooks

Primary 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/.

Peak Extraction

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 --save

To 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.

Simulations and Statistics

Run one simulation config directly:

python -m simulation.simul_app -c simulation/simulation_config/simul_config.toml --save

Run the manuscript simulation and statistics workflow:

python -m simulation.workflow -c simulation/workflow_config/paper_simulations.toml

To recompute only the statistics from existing simulation outputs:

python -m simulation.workflow -c simulation/workflow_config/paper_simulations.toml --skip-simulations

The binding-curve summary uses kind = "peak" in the workflow config; all other configured summaries use peak-height error statistics.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages