tissue_analyzer
tit.pre.tissue_analyzer ¶
Tissue Analysis for TI-toolbox.
Analyzes tissue types (CSF, bone, skin) from segmented NIfTI data, calculating volumes, thickness, and generating visualizations.
TissueAnalyzer ¶
Analyzes tissue from segmented NIfTI data.
Source code in tit/pre/tissue_analyzer.py
analyze ¶
analyze() -> dict
Run the complete tissue analysis.
Source code in tit/pre/tissue_analyzer.py
run_tissue_analysis ¶
run_tissue_analysis(project_dir: str, subject_id: str, *, tissues: Iterable[str] = DEFAULT_TISSUES, logger: Logger, runner: CommandRunner | None = None) -> dict
Run tissue analysis for a subject.
Parameters¶
project_dir : str BIDS project root. subject_id : str Subject identifier without the 'sub-' prefix. tissues : iterable of str Tissue types to analyze (default: bone, csf, skin). logger : logging.Logger Logger for progress output. runner : CommandRunner, optional Not used, kept for API compatibility.
Returns¶
dict Analysis results for each tissue type.