Summary
Calculates the Ferrous Minerals (FM) ratio from a multiband raster object and returns a raster object with the index values.
Discussion
The ferrous minerals ratio highlights iron-bearing materials. It uses ratio between the SWIR band and the NIR band.
Ferrous Minerals Ratio = SWIR / NIR
- SWIR= pixel values from the short-wave infrared band
- NIR = pixel values from the near infrared band
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
FerrousMinerals (raster, {swir_band_id}, {nir_band_id})
Parameter | Explanation | Data Type |
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. (The default value is 6) | Integer |
nir_band_id | The band ID of the near-infrared band. The ID index uses one-based indexing. (The default value is 5) | Integer |
Data Type | Explanation |
Raster | The output raster object with the Ferrous Minerals ratio values. |
Code sample
Calculates the Ferrous Minerals ratio for a Sentinel-2 image.
import arcpy
FerrousMinerals_raster = arcpy.ia.FerrousMinerals("Sentinel2.tif", 11, 8)