original_docstring: Performs a weighted sum on multiple input rasters after converting each image to a common scale. The tool performs a multi-criteria evaluation (MCE).
  
          Keyword arguments:
  
          factors -- Input factor raster files. 
          weights -- Weight values, contained in quotes and separated by commas or semicolons. Must have the same number as factors. 
          cost -- Weight values, contained in quotes and separated by commas or semicolons. Must have the same number as factors. 
          constraints -- Input constraints raster files. 
          output -- Output raster file. 
          scale_max -- Suitability scale maximum value (common values are 1.0, 100.0, and 255.0). 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Performs a weighted sum on multiple input rasters after converting each image to a common scale. The tool performs a multi-criteria evaluation (MCE).
  Keyword arguments.
  
  - Input factor raster files.
  weights -- Weight values, contained in quotes and separated by commas or semicolons. Must have the same number as factors.
  cost -- Weight values, contained in quotes and separated by commas or semicolons. Must have the same number as factors.
  constraints -- Input constraints raster files.
  output -- Output raster file.
docstring_tokens: Performs a weighted sum on multiple input rasters after converting each image to a common scale . The tool performs a multi - criteria evaluation ( MCE ) . Keyword arguments . - Input factor raster files . weights -- Weight values contained in quotes and separated by commas or semicolons . Must have the same number as factors . cost -- Weight values contained in quotes and separated by commas or semicolons . Must have the same number as factors . constraints -- Input constraints raster files . output -- Output raster file .
code: def weighted_overlay(self, factors, weights, output, cost=None, constraints=None, scale_max=1.0, callback=default_callback):
          """Performs a weighted sum on multiple input rasters after converting each image to a common scale. The tool performs a multi-criteria evaluation (MCE).
  
          Keyword arguments:
  
          factors -- Input factor raster files. 
          weights -- Weight values, contained in quotes and separated by commas or semicolons. Must have the same number as factors. 
          cost -- Weight values, contained in quotes and separated by commas or semicolons. Must have the same number as factors. 
          constraints -- Input constraints raster files. 
          output -- Output raster file. 
          scale_max -- Suitability scale maximum value (common values are 1.0, 100.0, and 255.0). 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--factors='{}'".format(factors))
          args.append("--weights='{}'".format(weights))
          if cost is not None: args.append("--cost='{}'".format(cost))
          if constraints is not None: args.append("--constraints='{}'".format(constraints))
          args.append("--output='{}'".format(output))
          args.append("--scale_max={}".format(scale_max))
          return self.run_tool('weighted_overlay', args, callback)
code_tokens: def weighted_overlay ( self , factors , weights , output , cost = None , constraints = None , scale_max = 1.0 , callback = default_callback ) : args = [ ] args . append ( "--factors='{}'" . format ( factors ) ) args . append ( "--weights='{}'" . format ( weights ) ) if cost is not None : args . append ( "--cost='{}'" . format ( cost ) ) if constraints is not None : args . append ( "--constraints='{}'" . format ( constraints ) ) args . append ( "--output='{}'" . format ( output ) ) args . append ( "--scale_max={}" . format ( scale_max ) ) return self . run_tool ( 'weighted_overlay' , args , callback )
short_docstring: Performs a weighted sum on multiple input rasters after converting each image to a common scale.
short_docstring_tokens: Performs a weighted sum on multiple input rasters after converting each image to a common scale .
comment: """Performs a weighted sum on multiple input rasters after converting each image to a common scale. The tool performs a multi-criteria evaluation (MCE).
  
          Keyword arguments:
  
          factors -- Input factor raster files. 
          weights -- Weight values, contained in quotes and separated by commas or semicolons. Must have the same number as factors. 
          cost -- Weight values, contained in quotes and separated by commas or semicolons. Must have the same number as factors. 
          constraints -- Input constraints raster files. 
          output -- Output raster file. 
          scale_max -- Suitability scale maximum value (common values are 1.0, 100.0, and 255.0). 
          callback -- Custom functon for handling tool text outputs.
          """