class_docstr: Use PETPVC for partial volume correction of PET images.
  
  PETPVC ([1]_, [2]_) is a software from the Nuclear Medicine Department
  of the UCL University Hospital, London, UK.
  
  Examples
  --------
  >>> from ..testing import example_data
  >>> #TODO get data for PETPVC
  >>> pvc = PETPVC()
  >>> pvc.inputs.in_file   = 'pet.nii.gz'
  >>> pvc.inputs.mask_file = 'tissues.nii.gz'
  >>> pvc.inputs.out_file  = 'pet_pvc_rbv.nii.gz'
  >>> pvc.inputs.pvc = 'RBV'
  >>> pvc.inputs.fwhm_x = 2.0
  >>> pvc.inputs.fwhm_y = 2.0
  >>> pvc.inputs.fwhm_z = 2.0
  >>> outs = pvc.run() #doctest: +SKIP
  
  References
  ----------
  .. [1] K. Erlandsson, I. Buvat, P. H. Pretorius, B. A. Thomas, and B. F. Hutton,
         "A review of partial volume correction techniques for emission tomography
         and their applications in neurology, cardiology and oncology," Phys. Med.
         Biol., vol. 57, no. 21, p. R119, 2012.
  .. [2] https://github.com/UCL/PETPVC
class_docstr_tok: ["Use","PETPVC","for","partial","volume","correction","of","PET","images",".","PETPVC","(","[","1","]","_",",","[","2","]","_",")","is","a","software","from","the","Nuclear","Medicine","Department","of","the","UCL","University","Hospital",",","London",",","UK",".","Examples","--","--","--","--",">",">",">","from","..","testing","import","example_data",">",">",">","#","TODO","get","data","for","PETPVC",">",">",">","pvc","=","PETPVC","(",")",">",">",">","pvc.inputs.in_file","=","'pet.nii.gz'",">",">",">","pvc.inputs.mask_file","=","'tissues.nii.gz'",">",">",">","pvc.inputs.out_file","=","'pet_pvc_rbv.nii.gz'",">",">",">","pvc.inputs.pvc","=","'RBV'",">",">",">","pvc.inputs.fwhm_x","=","2.0",">",">",">","pvc.inputs.fwhm_y","=","2.0",">",">",">","pvc.inputs.fwhm_z","=","2.0",">",">",">","outs","=","pvc.run","(",")","#","doctest",":","+SKIP","References","--","--","--","--","--","..","[","1","]","K.","Erlandsson",",","I.","Buvat",",","P.","H.","Pretorius",",","B",".","A.","Thomas",",","and","B.","F.","Hutton",",","``","A","review","of","partial","volume","correction","techniques","for","emission","tomography","and","their","applications","in","neurology",",","cardiology","and","oncology",",","''","Phys",".","Med",".","Biol.",",","vol",".","57",",","no",".","21",",","p.","R119",",","2012",".","..","[","2","]","https",":","\/\/github.com\/UCL\/PETPVC"]
code: def _gen_filename(self, name):
      if name == "out_file":
          return self._list_outputs()["out_file"]
      return None
  
file_path: nipype/nipype/interfaces/petpvc.py
imports: import os
  from .base import TraitedSpec, CommandLineInputSpec, CommandLine, File, isdefined, traits
  from ..utils.filemanip import fname_presuffix
  from ..external.due import BibTeX
label_desc: Use image node_id 3 for calling the PETPVC obj's underlying member method code with example usage: obj._gen_filename(name) and returns: None, self