MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / gemi

Method gemi

digital_image_processing/index_calculation.py:359–368  ·  view source on GitHub ↗

Global Environment Monitoring Index https://www.indexdatabase.de/db/i-single.php?id=25 :return: index

(self)

Source from the content-addressed store, hash-verified

357 )
358
359 def gemi(self):
360 """
361 Global Environment Monitoring Index
362 https://www.indexdatabase.de/db/i-single.php?id=25
363 :return: index
364 """
365 n = (2 * (self.nir**2 - self.red**2) + 1.5 * self.nir + 0.5 * self.red) / (
366 self.nir + self.red + 0.5
367 )
368 return n * (1 - 0.25 * n) - (self.red - 0.125) / (1 - self.red)
369
370 def gosavi(self, y=0.16):
371 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected