mrsiprep.registration.t1_to_mni
T1-to-MNI registration.
Functions
|
Compose (session -> subject template) + (template -> MNI) forward transforms. |
|
Classes
|
- class mrsiprep.registration.t1_to_mni.T1ToMNIResult(forward: 'list[Path]', inverse: 'list[Path]', prefix: 'Path', template: 'object')[source]
Bases:
object- Parameters:
forward (list[Path])
inverse (list[Path])
prefix (Path)
template (object)
- forward: list[Path]
- inverse: list[Path]
- prefix: Path
- template: object
- mrsiprep.registration.t1_to_mni.compose_longitudinal_t1_to_mni(config, subject, session, template_result, t1_path, mrsi_reference=None)[source]
Compose (session -> subject template) + (template -> MNI) forward transforms.
template_resultis aSubjectTemplateResultfrommrsiprep.registration.subject_template.build_subject_template, already built for this subject. The composed forward list is applied in order byapply_transforms/antspyx (session-to-template transform first, then template-to-MNI), matching the existing forward-transform-list convention used everywhere else in the codebase (seeregistration.transforms).- Parameters:
subject (str)
session (str)
t1_path (Path)
mrsi_reference (Path | None)
- Return type: