Summary
Calculates the Clay Minerals (CM) ratio from a multiband raster object and returns a raster object with the index values.
Discussion
The Clay Minerals (CM) ratio is a geological index for identifying mineral features containing clay and alunite using two shortwave infrared (SWIR) bands. CM is used in mineral composite mapping.
CM = SWIR1 / SWIR2
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
ClayMinerals (raster, {swir1_band_id}, {swir2_band_id})
Parameter | Explanation | Data Type |
raster | The input raster. | Raster |
swir1_band_id | The band ID of the shortwave infrared 1 (SWIR1) band. The band ID index uses one-based indexing. (The default value is 6) | Integer |
swir2_band_id | The band ID of the shortwave infrared 2 (SWIR2) band. The band ID index uses one-based indexing. (The default value is 7) | Integer |
Data Type | Explanation |
Raster | The output raster object with the Clay Minerals ratio values. |
Code sample
Calculates the Clay Minerals ratio for a Sentinel-2 image.
import arcpy
ClayMinerals_raster = arcpy.ia.ClayMinerals("Sentinel2.tif", 11, 12)