mrsiprep.registration.mrsi_to_t1

MRSI-to-T1 registration.

Functions

run_mrsi_to_t1(config, subject, session, ...)

run_mrsi_to_t1_rigid_mi(config, subject, ...)

MIDAS-faithful MRSI<->T1 registration: rigid-only, mutual-information driven (Maudsley et al. 2006, 'Image registration' section).

Classes

MRSIToT1Result(forward, inverse, prefix)

class mrsiprep.registration.mrsi_to_t1.MRSIToT1Result(forward: 'list[Path]', inverse: 'list[Path]', prefix: 'Path')[source]

Bases: object

Parameters:
  • forward (list[Path])

  • inverse (list[Path])

  • prefix (Path)

forward: list[Path]
inverse: list[Path]
prefix: Path
mrsiprep.registration.mrsi_to_t1.run_mrsi_to_t1(config, subject, session, mrsi_reference, t1_path, fixed_mask=None, moving_mask=None)[source]
Parameters:
  • subject (str)

  • session (str | None)

  • mrsi_reference (Path)

  • t1_path (Path)

  • fixed_mask (Path | None)

  • moving_mask (Path | None)

Return type:

MRSIToT1Result

mrsiprep.registration.mrsi_to_t1.run_mrsi_to_t1_rigid_mi(config, subject, session, mrsi_reference, t1_path, fixed_mask=None)[source]

MIDAS-faithful MRSI<->T1 registration: rigid-only, mutual-information driven (Maudsley et al. 2006, 'Image registration' section). Uses ANTs' Rigid preset (or, for the fsl backend, 6-DOF FLIRT) instead of the default path's higher-DOF registration, so no nonlinear warp is estimated between MRSI and T1 -- the forward/inverse transforms are the rigid affine only.

Parameters:
  • subject (str)

  • session (str | None)

  • mrsi_reference (Path)

  • t1_path (Path)

  • fixed_mask (Path | None)

Return type:

MRSIToT1Result