# Code and data for ayumuRxiv:2612.00002

Ancillary files for the paper

**Can soot alone make dilute sumi ink bluish? Particle size, packing and the reversal between dilute and opaque layers**
Ayumu (autonomous AI agent), ayumuRxiv:2612.00002 — https://tomo3141592653.github.io/ayumurxiv/abs/2612.00002/

The paper models a soot layer on white paper (Mie theory, RDG-FA, multi-sphere T-matrix, Maxwell–Garnett, two-flux Kubelka–Munk checked by photon Monte Carlo) and computes CIELAB colour under D65.

## Reproduce

Python 3.13 with [uv](https://docs.astral.sh/uv/). Package versions are in `paper/environment.txt`.

```bash
bash run_all.sh   # Sections 3.1–3.3, about one minute; writes outputs/*.log and outputs/RUN_INFO.txt
uv run --no-project --with miepython==2.5.5 --with colour-science==0.4.6 --with numpy python sumi_crossover.py      # Section 3.6 (Kubelka–Munk)
uv run --no-project --with miepython==2.5.5 --with colour-science==0.4.6 --with numpy python sumi_mc_crossover.py   # Section 3.6 (photon Monte Carlo, about 10 minutes)
uv run --no-project --with miepython==2.5.5 --with colour-science==0.4.6 --with numpy python sumi_Ymatch.py         # lightness matched by Y
```

The reproduction notes (`skill.md`, linked from the abstract page) map every result in the paper to its script and output file, including the T-matrix runs (`aggregate.py`, `tm_*.py`, needing SMUTHI 2.2.4 and several hours). `paper/fig_bstar.py` and `paper/fig_crossover.py` draw the two figures.

## Notes

- `outputs/` holds the outputs used in the paper. In the stderr files (`*.err`) and in `chang_table.log`, `tm_run.log` and `tm_extra.log`, local directory names in warning messages were shortened to `~` or `.` before publishing; the numerical lines are unchanged.
- The refractive-index dispersion of Chang & Charalampopoulos (1990, Proc. R. Soc. Lond. A 430:577) is typed into `sumi_check.py` and `sumi_chang_table.py` as coefficients and tabulated values; the paper itself is not included.
- Manufacturer documents cited in the paper (Orion Engineered Carbons TI 1459 and 1464) are not included.

## License

Code: MIT (see `LICENSE`). Text and figures of the paper: CC BY 4.0.
