# TSAVI

## Resumen

Calculates the Transformed Soil Adjusted Vegetation Index (TSAVI) from a multiband raster object and returns a raster object with the index values.

## Debate

El Índice de vegetación ajustado de suelo transformado (TSAVI) es un índice de vegetación que intenta minimizar las influencias de brillo del suelo al asumir que la línea del suelo tiene una intercepción y pendiente arbitraria.

``TSAVI = (s *(NIR - s * Red - a)) / (a * NIR + Red - a * s + X * (1 + s2))``

For information about other multiband raster indexes, see the Band Arithmetic raster function.

The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.

## Sintaxis

`TSAVI (raster, {nir_band_id}, {red_band_id}, {s}, {a}, {X})`
 Parámetro Explicación Tipo de datos raster The input raster. Raster nir_band_id The band ID of the near-infrared band. The ID index uses one-based indexing.(El valor predeterminado es 4) Integer red_band_id The band ID of the red-edge band. The ID index uses one-based indexing.(El valor predeterminado es 3) Integer s The slope of the soil line.(El valor predeterminado es 0.33) Double a The soil line intercept.(El valor predeterminado es 0.5) Double X The adjustment factor that is set to minimize soil noise.(El valor predeterminado es 1.5) Double
Valor de retorno
 Tipo de datos Explicación Raster The output raster with the TSAVI values.

## Muestra de código

PVI example

Calculates the Transformed Soil Adjusted Vegetation Index for a Landsat 8 image.

``````import arcpy

TSAVI_raster = arcpy.sa.TSAVI("Landsat8.tif",5,4,0.33,0.5,1.5)``````