original_docstring: Calculates the distance of cells from their polygon's centroid.
  
          Keyword arguments:
  
          i -- Input raster file. 
          output -- Output raster file. 
          text_output -- Optional text output. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Calculates the distance of cells from their polygon's centroid.
  Keyword arguments.
  
  - Input raster file.
  output -- Output raster file.
  text_output -- Optional text output.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Calculates the distance of cells from their polygon ' s centroid . Keyword arguments . - Input raster file . output -- Output raster file . text_output -- Optional text output . callback -- Custom functon for handling tool text outputs .
code: def radius_of_gyration(self, i, output, text_output=False, callback=default_callback):
          """Calculates the distance of cells from their polygon's centroid.
  
          Keyword arguments:
  
          i -- Input raster file. 
          output -- Output raster file. 
          text_output -- Optional text output. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--input='{}'".format(i))
          args.append("--output='{}'".format(output))
          if text_output: args.append("--text_output")
          return self.run_tool('radius_of_gyration', args, callback)
code_tokens: def radius_of_gyration ( self , i , output , text_output = False , callback = default_callback ) : args = [ ] args . append ( "--input='{}'" . format ( i ) ) args . append ( "--output='{}'" . format ( output ) ) if text_output : args . append ( "--text_output" ) return self . run_tool ( 'radius_of_gyration' , args , callback )
short_docstring: Calculates the distance of cells from their polygon's centroid.
short_docstring_tokens: Calculates the distance of cells from their polygon ' s centroid .
comment: """Calculates the distance of cells from their polygon's centroid.
  
          Keyword arguments:
  
          i -- Input raster file. 
          output -- Output raster file. 
          text_output -- Optional text output. 
          callback -- Custom functon for handling tool text outputs.
          """