original_docstring: Extracts descriptive statistics for a group of patches in a raster.
  
          Keyword arguments:
  
          i -- Input data raster file. 
          features -- Input feature definition raster file. 
          output -- Output raster file. 
          stat -- Statistic to extract. 
          out_table -- Output HTML Table file. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Extracts descriptive statistics for a group of patches in a raster.
  Keyword arguments.
  
  - Input data raster file.
  features -- Input feature definition raster file.
  output -- Output raster file.
  stat -- Statistic to extract.
  out_table -- Output HTML Table file.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Extracts descriptive statistics for a group of patches in a raster . Keyword arguments . - Input data raster file . features -- Input feature definition raster file . output -- Output raster file . stat -- Statistic to extract . out_table -- Output HTML Table file . callback -- Custom functon for handling tool text outputs .
code: def extract_raster_statistics(self, i, features, output=None, stat="average", out_table=None, callback=default_callback):
          """Extracts descriptive statistics for a group of patches in a raster.
  
          Keyword arguments:
  
          i -- Input data raster file. 
          features -- Input feature definition raster file. 
          output -- Output raster file. 
          stat -- Statistic to extract. 
          out_table -- Output HTML Table file. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--input='{}'".format(i))
          args.append("--features='{}'".format(features))
          if output is not None: args.append("--output='{}'".format(output))
          args.append("--stat={}".format(stat))
          if out_table is not None: args.append("--out_table='{}'".format(out_table))
          return self.run_tool('extract_raster_statistics', args, callback)
code_tokens: def extract_raster_statistics ( self , i , features , output = None , stat = "average" , out_table = None , callback = default_callback ) : args = [ ] args . append ( "--input='{}'" . format ( i ) ) args . append ( "--features='{}'" . format ( features ) ) if output is not None : args . append ( "--output='{}'" . format ( output ) ) args . append ( "--stat={}" . format ( stat ) ) if out_table is not None : args . append ( "--out_table='{}'" . format ( out_table ) ) return self . run_tool ( 'extract_raster_statistics' , args , callback )
short_docstring: Extracts descriptive statistics for a group of patches in a raster.
short_docstring_tokens: Extracts descriptive statistics for a group of patches in a raster .
comment: """Extracts descriptive statistics for a group of patches in a raster.
  
          Keyword arguments:
  
          i -- Input data raster file. 
          features -- Input feature definition raster file. 
          output -- Output raster file. 
          stat -- Statistic to extract. 
          out_table -- Output HTML Table file. 
          callback -- Custom functon for handling tool text outputs.
          """