class_docstr: Calculates and outputs the average network given a set of input NetworkX gpickle files
  
  See Also
  --------
  For documentation of Network-based statistic parameters:
  https://github.com/LTS5/connectomeviewer/blob/master/cviewer/libs/pyconto/groupstatistics/nbs/_nbs.py
  
  Example
  -------
  >>> import nipype.interfaces.cmtk as cmtk
  >>> nbs = cmtk.NetworkBasedStatistic()
  >>> nbs.inputs.in_group1 = ['subj1.pck', 'subj2.pck'] # doctest: +SKIP
  >>> nbs.inputs.in_group2 = ['pat1.pck', 'pat2.pck'] # doctest: +SKIP
  >>> nbs.run()                 # doctest: +SKIP
class_docstr_tok: ["Calculates","and","outputs","the","average","network","given","a","set","of","input","NetworkX","gpickle","files","See","Also","--","--","--","--","For","documentation","of","Network-based","statistic","parameters",":","https",":","\/\/github.com\/LTS5\/connectomeviewer\/blob\/master\/cviewer\/libs\/pyconto\/groupstatistics\/nbs\/_nbs.py","Example","--","--","--","-",">",">",">","import","nipype.interfaces.cmtk","as","cmtk",">",">",">","nbs","=","cmtk.NetworkBasedStatistic","(",")",">",">",">","nbs.inputs.in_group1","=","[","'subj1.pck","'",",","'subj2.pck","'","]","#","doctest",":","+SKIP",">",">",">","nbs.inputs.in_group2","=","[","'pat1.pck","'",",","'pat2.pck","'","]","#","doctest",":","+SKIP",">",">",">","nbs.run","(",")","#","doctest",":","+SKIP"]
code: def _gen_outfilename(self, name, ext):
      return name + "." + ext
  
file_path: nipype/nipype/interfaces/cmtk/nbs.py
imports: import os.path
  import numpy
  import networkx
  import pickle
  from ...None import logging
  from ..base import LibraryBaseInterface, BaseInterfaceInputSpec, traits, File, TraitedSpec, InputMultiPath, OutputMultiPath, isdefined
  from .base import have_cv
label_desc: Use image node_id 3 for calling the NetworkBasedStatistic obj's underlying member method code with example usage: obj._gen_outfilename(name, ext) and returns: unknown