yatsm.vegetation_indices module¶
Functions for computing vegetation indices
-
yatsm.vegetation_indices.
EVI
(red, nir, blue)[source]¶ Return the Enhanced Vegetation Index for a set of np.ndarrays
EVI is calculated as:
\[2.5 * \frac{(NIR - RED)}{(NIR + C_1 * RED - C_2 * BLUE + L)}\]- where:
- \(RED\) is the red band
- \(NIR\) is the near infrared band
- \(BLUE\) is the blue band
- \(C_1 = 6\)
- \(C_2 = 7.5\)
- \(L = 1\)
Note: bands must be given in float datatype from [0, 1]
Parameters: Returns: EVI
Return type: np.ndarray