parcellation
knowledge.simulation.parcellation
This module provides functions for loading and accessing parcellation data.
Author: Leon Martin
Functions
| Name | Description |
|---|---|
| load_from_url | Load a NIFTI file from a given URL. |
load_from_url
knowledge.simulation.parcellation.load_from_url(url)Load a NIFTI file from a given URL.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| url | str | The URL of the NIFTI file. | required |
Returns
| Name | Type | Description |
|---|---|---|
| Any | nibabel.nifti1.Nifti1Image: The loaded NIFTI image. |
Raises
| Name | Type | Description |
|---|---|---|
| Exception | If the download request fails or the file cannot be loaded. |