indices

indices#

Set of usual spectral indices.

Note: This is easier to manage indices as raw functions in a file rather than stored in a class

Functions

compute_index(index, bands, **kwargs)

param index:

Index name (as a string)

get_all_index_names()

Get all index names contained in this file

get_all_needed_bands()

Gather all the needed bands for all index functions

get_eoreader_indices()

Get list of all EOReader indices

get_needed_bands(index)

Gather all the needed bands for the specified index function

get_spyndex_indices()

Get list of all Spyndex indices

is_eoreader_idx(index)

Yes if the string is an EOReader index

is_index(index)

Returns True if is an index function from the bands.index module

is_spyndex_idx(index)

Yes if the string is a Spyndex index