allign_CT

allign_CT(t1_path: str | PathLike, ct_path: str | PathLike, reg_affine=None) SpatialImage[source][source]

Alligns a CT scan to a T1 scan

Parameters:
  • t1_path (PathLike) – The path to the T1 scan

  • ct_path (PathLike) – The path to the CT scan

  • reg_affine (np.ndarray, optional) – The affine to use for registration, by default None

Returns:

The alligned CT scan

Return type:

nib.spatialimages.SpatialImage