TSAVI

Summary

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

Discussion

The Transformed Soil Adjusted Vegetation Index (TSAVI) is a vegetation index that attempts to minimize soil brightness influences by assuming the soil line has an arbitrary slope and intercept.

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.

Syntax

TSAVI (raster, {nir_band_id}, {red_band_id}, {s}, {a}, {X})
ParameterExplanationData Type
raster

The input raster.

Raster
nir_band_id

The band ID of the near-infrared band. The ID index uses one-based indexing.

(The default value is 4)

Integer
red_band_id

The band ID of the red-edge band. The ID index uses one-based indexing.

(The default value is 3)

Integer
s

The slope of the soil line.

(The default value is 0.33)

Double
a

The soil line intercept.

(The default value is 0.5)

Double
X

The adjustment factor that is set to minimize soil noise.

(The default value is 1.5)

Double
Return Value
Data TypeExplanation
Raster

The output raster with the TSAVI values.

Code sample

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)

Related topics