@@ -458,10 +458,25 @@ 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+ 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+ )
461476
462477
463478class GTMPVC (FSCommand ):
464- """create an anatomical segmentation for the geometric transfer matrix (GTM) .
479+ """Perform Partial Volume Correction (PVC) to PET Data .
465480
466481 Examples
467482 --------
@@ -536,6 +551,15 @@ def _list_outputs(self):
536551 outputs ["gtm_stats" ] = os .path .join (pvcdir , "gtm.stats.dat" )
537552 outputs ["reg_pet2anat" ] = os .path .join (pvcdir , "aux" , "bbpet2anat.lta" )
538553 outputs ["reg_anat2pet" ] = os .path .join (pvcdir , "aux" , "anat2bbpet.lta" )
554+ outputs ["eres" ] = os .path .join (pvcdir , "eres.nii.gz" )
555+ outputs ["tissue_fraction" ] = os .path .join (
556+ pvcdir , "aux" , "tissue.fraction.nii.gz"
557+ )
558+ outputs ["tissue_fraction_psf" ] = os .path .join (
559+ pvcdir , "aux" , "tissue.fraction.psf.nii.gz"
560+ )
561+ outputs ["seg" ] = os .path .join (pvcdir , "aux" , "seg.nii.gz" )
562+ outputs ["seg_ctab" ] = os .path .join (pvcdir , "aux" , "seg.ctab" )
539563
540564 # Assign the conditional outputs
541565 if self .inputs .save_input :
@@ -562,7 +586,7 @@ def _list_outputs(self):
562586 return outputs
563587
564588
565- class MRTMInputSpec (GLMFitInputSpec ):
589+ class MRTM1InputSpec (GLMFitInputSpec ):
566590 mrtm1 = traits .Tuple (
567591 File (exists = True ),
568592 File (exists = True ),
@@ -572,20 +596,20 @@ class MRTMInputSpec(GLMFitInputSpec):
572596 )
573597
574598
575- class MRTM (GLMFit ):
599+ class MRTM1 (GLMFit ):
576600 """Perform MRTM1 kinetic modeling.
577601
578602 Examples
579603 --------
580- >>> mrtm = MRTM ()
604+ >>> mrtm = MRTM1 ()
581605 >>> mrtm.inputs.in_file = 'tac.nii'
582606 >>> mrtm.inputs.mrtm1 = ('ref_tac.dat', 'timing.dat')
583607 >>> mrtm.inputs.glm_dir = 'mrtm'
584608 >>> mrtm.cmdline
585609 'mri_glmfit --glmdir mrtm --y tac.nii --mrtm1 ref_tac.dat timing.dat'
586610 """
587611
588- input_spec = MRTMInputSpec
612+ input_spec = MRTM1InputSpec
589613
590614
591615class MRTM2InputSpec (GLMFitInputSpec ):
@@ -614,7 +638,7 @@ class MRTM2(GLMFit):
614638 input_spec = MRTM2InputSpec
615639
616640
617- class LoganRefInputSpec (GLMFitInputSpec ):
641+ class LoganInputSpec (GLMFitInputSpec ):
618642 logan = traits .Tuple (
619643 File (exists = True ),
620644 File (exists = True ),
@@ -625,16 +649,16 @@ class LoganRefInputSpec(GLMFitInputSpec):
625649 )
626650
627651
628- class LoganRef (GLMFit ):
629- """Perform Logan reference kinetic modeling.
652+ class Logan (GLMFit ):
653+ """Perform Logan kinetic modeling.
630654 Examples
631655 --------
632- >>> logan = LoganRef ()
656+ >>> logan = Logan ()
633657 >>> logan.inputs.in_file = 'tac.nii'
634658 >>> logan.inputs.logan = ('ref_tac.dat', 'timing.dat', 2600)
635659 >>> logan.inputs.glm_dir = 'logan'
636660 >>> logan.cmdline
637661 'mri_glmfit --glmdir logan --y tac.nii --logan ref_tac.dat timing.dat 2600'
638662 """
639663
640- input_spec = LoganRefInputSpec
664+ input_spec = LoganInputSpec
0 commit comments