dti_qc
tit.reporting.generators.dti_qc ¶
DTI quality control report generator for TI-Toolbox.
Produces an HTML report with FA-on-T1 registration overlays, color-coded principal diffusion direction maps, and tensor statistics.
DTIQCReportGenerator ¶
Bases: BaseReportGenerator
Report generator for DTI tensor quality control.
Source code in tit/reporting/generators/dti_qc.py
generate ¶
Generate the DTI QC report.
Parameters¶
tensor_file : str Path to the 6-component tensor NIfTI. t1_file : str Path to the T1-weighted anatomical NIfTI.
Returns¶
Path Path to the saved HTML report.
Source code in tit/reporting/generators/dti_qc.py
create_dti_qc_report ¶
create_dti_qc_report(project_dir: str | Path, subject_id: str, tensor_file: str, t1_file: str) -> Path
Convenience wrapper to generate a DTI QC report.
Parameters¶
project_dir : str or Path
BIDS project root.
subject_id : str
Subject identifier (without sub- prefix).
tensor_file : str
Path to the 6-component tensor NIfTI.
t1_file : str
Path to the T1-weighted NIfTI.
Returns¶
Path Path to the saved HTML report.