class_docstr: This program is useful for extracting one of the arrays ("a variable")
  from a surface-registration template file. The output is a file
  containing a surface-worth of per-vertex values, saved in "curvature"
  format. Because the template data is sampled to a particular surface
  mesh, this conjures the idea of "painting to a surface".
  
  Examples
  ========
  >>> from nipype.interfaces.freesurfer import Paint
  >>> paint = Paint()
  >>> paint.inputs.in_surf = 'lh.pial'
  >>> paint.inputs.template = 'aseg.mgz'
  >>> paint.inputs.averages = 5
  >>> paint.inputs.out_file = 'lh.avg_curv'
  >>> paint.cmdline
  'mrisp_paint -a 5 aseg.mgz lh.pial lh.avg_curv'
class_docstr_tok: ["This","program","is","useful","for","extracting","one","of","the","arrays","(","``","a","variable","''",")","from","a","surface-registration","template","file",".","The","output","is","a","file","containing","a","surface-worth","of","per-vertex","values",",","saved","in","``","curvature","''","format",".","Because","the","template","data","is","sampled","to","a","particular","surface","mesh",",","this","conjures","the","idea","of","``","painting","to","a","surface","''",".","Examples","========",">",">",">","from","nipype.interfaces.freesurfer","import","Paint",">",">",">","paint","=","Paint","(",")",">",">",">","paint.inputs.in_surf","=","'lh.pial'",">",">",">","paint.inputs.template","=","'aseg.mgz'",">",">",">","paint.inputs.averages","=","5",">",">",">","paint.inputs.out_file","=","'lh.avg_curv'",">",">",">","paint.cmdline","'mrisp_paint","-a","5","aseg.mgz","lh.pial","lh.avg_curv","'"]
code: def _list_outputs(self):
      outputs = self.output_spec().get()
      outputs["out_file"] = os.path.abspath(self.inputs.out_file)
      return outputs
  
imports: import os
  import os.path
  from ...None import logging
  from ...utils.filemanip import split_filename, copyfile
  from .base import FSCommand, FSTraitedSpec, FSScriptCommand, FSScriptOutputSpec, FSCommandOpenMP, FSTraitedSpecOpenMP
  from ..base import isdefined, TraitedSpec, File, traits, Directory
label_desc: Use image node_id 2 for calling the Paint obj's underlying member method code with example usage: obj._list_outputs() and returns: outputs