charm
tit.pre.charm ¶
SimNIBS charm (m2m) creation + subject atlas segmentation.
run_charm ¶
run_charm(project_dir: str, subject_id: str, *, logger, runner: CommandRunner | None = None) -> None
Run SimNIBS charm for a subject.
Parameters¶
project_dir : str
BIDS project root.
subject_id : str
Subject identifier without the sub- prefix.
logger : logging.Logger
Logger used for progress and command output.
runner : CommandRunner, optional
Subprocess runner used to stream output.
Source code in tit/pre/charm.py
run_subject_atlas ¶
run_subject_atlas(project_dir: str, subject_id: str, *, logger, runner: CommandRunner | None = None) -> None
Run subject_atlas to create .annot files for a subject.
This should be called after charm completes successfully. Generates all three atlases: a2009s, DK40, and HCP_MMP1.
Parameters¶
project_dir : str
BIDS project root.
subject_id : str
Subject identifier without the sub- prefix.
logger : logging.Logger
Logger used for progress and command output.
runner : CommandRunner, optional
Subprocess runner used to stream output.