original_docstring: Identifies the source cell to which each grid cell is connected by a least-cost pathway in a cost-distance analysis.
  
          Keyword arguments:
  
          source -- Input source raster file. 
          backlink -- Input backlink raster file generated by the cost-distance tool. 
          output -- Output raster file. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Identifies the source cell to which each grid cell is connected by a least-cost pathway in a cost-distance analysis.
  Keyword arguments.
  
  - Input source raster file.
  backlink -- Input backlink raster file generated by the cost-distance tool.
  output -- Output raster file.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Identifies the source cell to which each grid cell is connected by a least - cost pathway in a cost - distance analysis . Keyword arguments . - Input source raster file . backlink -- Input backlink raster file generated by the cost - distance tool . output -- Output raster file . callback -- Custom functon for handling tool text outputs .
code: def cost_allocation(self, source, backlink, output, callback=default_callback):
          """Identifies the source cell to which each grid cell is connected by a least-cost pathway in a cost-distance analysis.
  
          Keyword arguments:
  
          source -- Input source raster file. 
          backlink -- Input backlink raster file generated by the cost-distance tool. 
          output -- Output raster file. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--source='{}'".format(source))
          args.append("--backlink='{}'".format(backlink))
          args.append("--output='{}'".format(output))
          return self.run_tool('cost_allocation', args, callback)
code_tokens: def cost_allocation ( self , source , backlink , output , callback = default_callback ) : args = [ ] args . append ( "--source='{}'" . format ( source ) ) args . append ( "--backlink='{}'" . format ( backlink ) ) args . append ( "--output='{}'" . format ( output ) ) return self . run_tool ( 'cost_allocation' , args , callback )
short_docstring: Identifies the source cell to which each grid cell is connected by a least-cost pathway in a cost-distance analysis.
short_docstring_tokens: Identifies the source cell to which each grid cell is connected by a least - cost pathway in a cost - distance analysis .
comment: """Identifies the source cell to which each grid cell is connected by a least-cost pathway in a cost-distance analysis.
  
          Keyword arguments:
  
          source -- Input source raster file. 
          backlink -- Input backlink raster file generated by the cost-distance tool. 
          output -- Output raster file. 
          callback -- Custom functon for handling tool text outputs.
          """