references
tit.reporting.reportlets.references ¶
References reportlet for TI-Toolbox reports.
This module provides the default citations and references used across TI-Toolbox reports.
TIToolboxReferencesReportlet ¶
TIToolboxReferencesReportlet(title: str | None = None, include_defaults: bool = True, pipeline_components: list[str] | None = None)
Bases: ReferencesReportlet
Specialized references reportlet with TI-Toolbox default citations.
Automatically includes relevant citations based on the pipeline components used.
Initialize the TI-Toolbox references reportlet.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
title
|
str | None
|
Section title |
None
|
include_defaults
|
bool
|
Whether to include default TI-Toolbox refs |
True
|
pipeline_components
|
list[str] | None
|
List of components used (to filter refs) |
None
|
Source code in tit/reporting/reportlets/references.py
add_default_reference ¶
Add a default reference by key.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
key
|
str
|
The reference key (e.g., 'freesurfer', 'qsiprep') |
required |
Returns:
| Type | Description |
|---|---|
bool
|
True if reference was found and added, False otherwise |