# Analysis 20261014-190645-v2-gain-notes-excluded

Label: v2-gain-notes-excluded · created 2026-10-14T19:06:45 · code 3f313ac · dataset default

This folder is self-contained. `params.yaml` holds every parameter and the input run ids; `input/` holds the input
tables copied from those runs; `scripts/` is the exact analysis code that produced the outputs; every CSV starts with
a `#` header repeating the run metadata and parameters (`pd.read_csv(path, comment="#")` reads them).

## Re-run from this folder

    cd "20261014-190645-v2-gain-notes-excluded"
    python -m scripts run --params params.yaml --input input --out .

Needs Python >= 3.9 with pandas, numpy, scipy, scikit-learn, matplotlib, pyyaml and nbformat.
`reproduce.ipynb` regenerates the figures from the tables (`jupyter notebook reproduce.ipynb`).

## Files

- `stacks_excluded.csv`, `somas_dropped.csv`, `qc_stacks.csv` — what the filters removed and why
- `somas_filtered.csv` — every kept soma with its metrics
- `stacks.csv`, `subjects.csv` — per stack and per subject x layer x hemisphere statistics (the unit of analysis)
- `split_*.csv`, `figures/split_*` — EXPLORATORY unsupervised split of subjects (not a group test)
- `figures/` — figures; `report.md` / `report.html` — the report; `summary.json` — counts; `log.txt` — the run log
