original_docstring: Performs a direct decorrelation stretch enhancement on a colour-composite image of multispectral data.
  
          Keyword arguments:
  
          i -- Input colour composite image file. 
          output -- Output raster file. 
          k -- Achromatic factor (k) ranges between 0 (no effect) and 1 (full saturation stretch), although typical values range from 0.3 to 0.7. 
          clip -- Optional percent to clip the upper tail by during the stretch. 
          callback -- Custom functon for handling tool text outputs.
          
docstring: Performs a direct decorrelation stretch enhancement on a colour-composite image of multispectral data.
  Keyword arguments.
  
  - Input colour composite image file.
  output -- Output raster file.
  k -- Achromatic factor (k) ranges between 0 (no effect) and 1 (full saturation stretch), although typical values range from 0.3 to 0.7.
  clip -- Optional percent to clip the upper tail by during the stretch.
  callback -- Custom functon for handling tool text outputs.
docstring_tokens: Performs a direct decorrelation stretch enhancement on a colour - composite image of multispectral data . Keyword arguments . - Input colour composite image file . output -- Output raster file . k -- Achromatic factor ( k ) ranges between 0 ( no effect ) and 1 ( full saturation stretch ) although typical values range from 0 . 3 to 0 . 7 . clip -- Optional percent to clip the upper tail by during the stretch . callback -- Custom functon for handling tool text outputs .
code: def direct_decorrelation_stretch(self, i, output, k=0.5, clip=1.0, callback=default_callback):
          """Performs a direct decorrelation stretch enhancement on a colour-composite image of multispectral data.
  
          Keyword arguments:
  
          i -- Input colour composite image file. 
          output -- Output raster file. 
          k -- Achromatic factor (k) ranges between 0 (no effect) and 1 (full saturation stretch), although typical values range from 0.3 to 0.7. 
          clip -- Optional percent to clip the upper tail by during the stretch. 
          callback -- Custom functon for handling tool text outputs.
          """
          args = []
          args.append("--input='{}'".format(i))
          args.append("--output='{}'".format(output))
          args.append("-k={}".format(k))
          args.append("--clip={}".format(clip))
          return self.run_tool('direct_decorrelation_stretch', args, callback)
code_tokens: def direct_decorrelation_stretch ( self , i , output , k = 0.5 , clip = 1.0 , callback = default_callback ) : args = [ ] args . append ( "--input='{}'" . format ( i ) ) args . append ( "--output='{}'" . format ( output ) ) args . append ( "-k={}" . format ( k ) ) args . append ( "--clip={}" . format ( clip ) ) return self . run_tool ( 'direct_decorrelation_stretch' , args , callback )
short_docstring: Performs a direct decorrelation stretch enhancement on a colour-composite image of multispectral data.
short_docstring_tokens: Performs a direct decorrelation stretch enhancement on a colour - composite image of multispectral data .
comment: """Performs a direct decorrelation stretch enhancement on a colour-composite image of multispectral data.
  
          Keyword arguments:
  
          i -- Input colour composite image file. 
          output -- Output raster file. 
          k -- Achromatic factor (k) ranges between 0 (no effect) and 1 (full saturation stretch), although typical values range from 0.3 to 0.7. 
          clip -- Optional percent to clip the upper tail by during the stretch. 
          callback -- Custom functon for handling tool text outputs.
          """