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 (FM) ratio method is a geological index for identifying rock features containing some quantity of iron-bearing minerals using the SWIR and NIR bands. FM is used in mineral composite mapping.
FM = SWIR / NIR
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)