load_volume
Load an existing NIfTI brain volume (MRI or PET) into the session to inspect its shape, voxel size, affine, space, value range, and NaN count without any preprocessing.
Instructions
Load an already-preprocessed NIfTI volume (MRI, PET) into the session.
Returns shape, voxel size, affine summary, detected space and how it was detected, value range, and NaN count. No preprocessing is performed on the file.
Args: path: Path to a .nii or .nii.gz file. name: Short handle for later calls. Defaults to the filename stem. space: Assert the template space when the header does not record one, e.g. "MNI152NLin6Asym". Recorded as your assertion, not an inference.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | Yes | ||
| space | No |