export_script
Export the entire session as a standalone Python script that reproduces the brain volume analysis using only numpy, nibabel, and nilearn.
Instructions
Write the whole session as a standalone runnable .py and return its path.
This is the deliverable. It needs only numpy, nibabel and nilearn — not neurochat — and re-running it reproduces the numbers reported in this conversation.
Args: path: Where to write the script, e.g. "~/analysis/session.py".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |