Skip to content

Commit 6e85f7b

Browse files
committed
GTMPVC: add extra outputs to outputspec and GTMPVC class
1 parent 83d52f9 commit 6e85f7b

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

Diff for: nipype/interfaces/freesurfer/petsurfer.py

+20-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,21 @@ class GTMPVCOutputSpec(TraitedSpec):
458458
yhat_with_noise = File(
459459
desc="4D PET file with full FOV of signal estimate (yhat) with noise after PVC (smoothed with PSF)",
460460
)
461-
461+
eres = File(
462+
desc="4D PET file of residual error after PVC (smoothed with PSF)",
463+
)
464+
tissue_fraction = File(
465+
desc="4D PET file of tissue fraction before PVC",
466+
)
467+
tissue_fraction_psf = File(
468+
desc="4D PET file of tissue fraction after PVC (smoothed with PSF)",
469+
)
470+
seg = File(
471+
desc="Segmentation file of regions used for PVC",
472+
)
473+
seg_ctab = File(
474+
desc="Color table file for segmentation file",
475+
)
462476

463477
class GTMPVC(FSCommand):
464478
"""create an anatomical segmentation for the geometric transfer matrix (GTM).
@@ -536,6 +550,11 @@ def _list_outputs(self):
536550
outputs["gtm_stats"] = os.path.join(pvcdir, "gtm.stats.dat")
537551
outputs["reg_pet2anat"] = os.path.join(pvcdir, "aux", "bbpet2anat.lta")
538552
outputs["reg_anat2pet"] = os.path.join(pvcdir, "aux", "anat2bbpet.lta")
553+
outputs["eres"] = os.path.join(pvcdir, "eres.nii.gz")
554+
outputs["tissue_fraction"] = os.path.join(pvcdir, "aux", "tissue.fraction.nii.gz")
555+
outputs["tissue_fraction_psf"] = os.path.join(pvcdir, "aux", "tissue.fraction.psf.nii.gz")
556+
outputs["seg"] = os.path.join(pvcdir, "aux", "seg.nii.gz")
557+
outputs["seg_ctab"] = os.path.join(pvcdir, "aux", "seg.ctab")
539558

540559
# Assign the conditional outputs
541560
if self.inputs.save_input:

0 commit comments

Comments
 (0)