original_docstring: Performs cost-distance accumulation on a cost surface and a group of source cells.
  
          Keyword arguments:
  
          source -- Input source raster file. 
          cost -- Input cost (friction) raster file. 
          out_accum -- Output cost accumulation raster file. 
          out_backlink -- Output backlink raster file. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Performs cost-distance accumulation on a cost surface and a group of source cells.
  Keyword arguments.
  
  - Input source raster file.
  cost -- Input cost (friction) raster file.
  out_accum -- Output cost accumulation raster file.
  out_backlink -- Output backlink raster file.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Performs cost - distance accumulation on a cost surface and a group of source cells . Keyword arguments . - Input source raster file . cost -- Input cost ( friction ) raster file . out_accum -- Output cost accumulation raster file . out_backlink -- Output backlink raster file . callback -- Custom functon for handling tool text outputs .
code: def cost_distance(self, source, cost, out_accum, out_backlink, callback=default_callback):
          """Performs cost-distance accumulation on a cost surface and a group of source cells.
  
          Keyword arguments:
  
          source -- Input source raster file. 
          cost -- Input cost (friction) raster file. 
          out_accum -- Output cost accumulation raster file. 
          out_backlink -- Output backlink raster file. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--source='{}'".format(source))
          args.append("--cost='{}'".format(cost))
          args.append("--out_accum='{}'".format(out_accum))
          args.append("--out_backlink='{}'".format(out_backlink))
          return self.run_tool('cost_distance', args, callback)
code_tokens: def cost_distance ( self , source , cost , out_accum , out_backlink , callback = default_callback ) : args = [ ] args . append ( "--source='{}'" . format ( source ) ) args . append ( "--cost='{}'" . format ( cost ) ) args . append ( "--out_accum='{}'" . format ( out_accum ) ) args . append ( "--out_backlink='{}'" . format ( out_backlink ) ) return self . run_tool ( 'cost_distance' , args , callback )
short_docstring: Performs cost-distance accumulation on a cost surface and a group of source cells.
short_docstring_tokens: Performs cost - distance accumulation on a cost surface and a group of source cells .
comment: """Performs cost-distance accumulation on a cost surface and a group of source cells.
  
          Keyword arguments:
  
          source -- Input source raster file. 
          cost -- Input cost (friction) raster file. 
          out_accum -- Output cost accumulation raster file. 
          out_backlink -- Output backlink raster file. 
          callback -- Custom functon for handling tool text outputs.
          """