{
  "nbformat": 4,
  "nbformat_minor": 5,
  "metadata": {
    "kernelspec": {
      "display_name": "Python 3",
      "language": "python",
      "name": "python3"
    }
  },
  "cells": [
    {
      "cell_type": "markdown",
      "metadata": {},
      "source": [
        "# Cell mechanics B02 — reproducible analysis\n",
        "Original files remain in the collection archive. Set INPUT_ARCHIVE below. This notebook calls the accompanying analysis script; script execution was verified, notebook UI execution was not.\n",
        "No calibration, unit guessing, or source correction is performed. Dependencies: numpy pandas scipy h5py matplotlib."
      ]
    },
    {
      "cell_type": "code",
      "execution_count": null,
      "outputs": [],
      "metadata": {},
      "source": [
        "from pathlib import Path\n",
        "import json, subprocess, sys\n",
        "INPUT_ARCHIVE = Path(\"/path/to/cell_mechanics_collection_batch02_20261119\")\n",
        "out = Path(\"reproduced\"); out.mkdir(exist_ok=True)\n",
        "context = {\"input\": str(INPUT_ARCHIVE), \"tmp\": str(out.resolve())}\n",
        "Path(\"local-context.json\").write_text(json.dumps(context))\n",
        "subprocess.run([sys.executable, \"analyze.py\", \"local-context.json\"], check=True)\n"
      ]
    }
  ]
}