masks
tit.analyzer.masks ¶
Output identity shared by planning and analysis: masks and atlas regions (no image imports).
mask_region_name ¶
Keep same-named masks and coordinate spaces in distinct result folders.
Source code in tit/analyzer/masks.py
analysis_region_key ¶
analysis_region_key(region) -> str
The region part of an atlas analysis's folder name, from the request alone.
The requested names (or labels) in their order, each once, joined with + -- what the
plan and the Analyzer both name the folder by. A mesh analysis of a bare name such as
"insula" still analyses both hemispheres; its folder keeps the name it was asked by,
because the hemisphere split is only known once the atlas is read.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
region
|
A region name, a list of names, or |
required |
Returns:
| Type | Description |
|---|---|
str
|
The names joined with |
str
|
|
str
|
|
Source code in tit/analyzer/masks.py
validate_mask_path ¶
Reject inaccessible mask paths before a plan promises a runnable job.