onstove.MCA.index#

static MCA.index(layers: dict[dict[str, VectorLayer | RasterLayer]]) ndarray[source]#

Computes a standard index based on the layers provided.

Parameters:
layers: dictionary of dictionaries

Dictionary containing the categories and their respective dictionaries of dataset names and VectorLayer or RasterLayer layers.

Returns:
np.ndarray

The weighted average of the RasterLayer.normalized datasets based on their defined RasterLayer.weight