Resumen
Calculates the Ferrous Minerals (FM) ratio from a multiband raster object and returns a raster object with the index values.
Debate
La relación de minerales ferrosos resalta los minerales que contienen hierro. Usa la relación entre las bandas SWIR y NIR.
Ratio de minerales ferrosos = SWIR / NIR
- SWIR = valores de píxel de la banda infrarroja de onda corta
- NIR = valores de píxel de la banda infrarroja cercana
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
FerrousMinerals (raster, {swir_band_id}, {nir_band_id})
Parámetro | Explicación | Tipo de datos |
raster | The input raster. | Raster |
swir_band_id | The band ID of the shortwave infrared (SWIR) band. The band ID index uses one-based indexing. (El valor predeterminado es 6) | Integer |
nir_band_id | The band ID of the near-infrared band. The ID index uses one-based indexing. (El valor predeterminado es 5) | Integer |
Tipo de datos | Explicación |
Raster | The output raster object with the Ferrous Minerals ratio values. |
Muestra de código
Calculates the Ferrous Minerals ratio for a Sentinel-2 image.
import arcpy
FerrousMinerals_raster = arcpy.sa.FerrousMinerals("Sentinel2.tif", 11, 8)