original_docstring: Lindsay and Seibert's (2013) branch length index is used to map drainage divides or ridge lines.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          log -- Optional flag to request the output be log-transformed. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Lindsay and Seibert's (2013) branch length index is used to map drainage divides or ridge lines.
  Keyword arguments.
  
  - Input raster DEM file.
  output -- Output raster file.
  log -- Optional flag to request the output be log-transformed.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Lindsay and Seibert ' s ( 2013 ) branch length index is used to map drainage divides or ridge lines . Keyword arguments . - Input raster DEM file . output -- Output raster file . log -- Optional flag to request the output be log - transformed . callback -- Custom functon for handling tool text outputs .
code: def max_branch_length(self, dem, output, log=False, callback=default_callback):
          """Lindsay and Seibert's (2013) branch length index is used to map drainage divides or ridge lines.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          log -- Optional flag to request the output be log-transformed. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--dem='{}'".format(dem))
          args.append("--output='{}'".format(output))
          if log: args.append("--log")
          return self.run_tool('max_branch_length', args, callback)
code_tokens: def max_branch_length ( self , dem , output , log = False , callback = default_callback ) : args = [ ] args . append ( "--dem='{}'" . format ( dem ) ) args . append ( "--output='{}'" . format ( output ) ) if log : args . append ( "--log" ) return self . run_tool ( 'max_branch_length' , args , callback )
short_docstring: Lindsay and Seibert's (2013) branch length index is used to map drainage divides or ridge lines.
short_docstring_tokens: Lindsay and Seibert ' s ( 2013 ) branch length index is used to map drainage divides or ridge lines .
comment: """Lindsay and Seibert's (2013) branch length index is used to map drainage divides or ridge lines.
  
          Keyword arguments:
  
          dem -- Input raster DEM file. 
          output -- Output raster file. 
          log -- Optional flag to request the output be log-transformed. 
          callback -- Custom functon for handling tool text outputs.
          """