class_docstr: create an anatomical segmentation for the geometric transfer matrix (GTM).
  
  Examples
  --------
  >>> gtmseg = GTMSeg()
  >>> gtmseg.inputs.subject_id = 'subject_id'
  >>> gtmseg.cmdline
  'gtmseg --o gtmseg.mgz --s subject_id'
class_docstr_tok: ["create","an","anatomical","segmentation","for","the","geometric","transfer","matrix","(","GTM",")",".","Examples","--","--","--","--",">",">",">","gtmseg","=","GTMSeg","(",")",">",">",">","gtmseg.inputs.subject_id","=","'subject_id'",">",">",">","gtmseg.cmdline","'gtmseg","--","o","gtmseg.mgz","--","s","subject_id","'"]
code: def _list_outputs(self):
      outputs = self.output_spec().get()
      outputs["out_file"] = os.path.join(
          self.inputs.subjects_dir,
          self.inputs.subject_id,
          "mri",
          self.inputs.out_file,
      )
      return outputs
  
imports: import os
  from ...None import logging
  from ..base import TraitedSpec, File, traits, Directory, InputMultiPath, isdefined
  from .base import FSCommand, FSTraitedSpec
  from .model import GLMFitInputSpec, GLMFit
label_desc: Use image node_id 1 for calling the GTMSeg obj's underlying member method code with example usage: obj._list_outputs() and returns: outputs