onstove.MCA.set_clean_cooking_index#
- MCA.set_clean_cooking_index(demand_weight: float = 1, supply_weight: float = 1, buffer: bool = False)[source]#
Computes the
clean_cooking_indexusing thedemand_indexand thesupply_index.It computes the weighted average of the
demand_indexand thesupply_indexbased on the provideddemand_weightandsupply_weight.- Parameters:
- demand_weight: float, default 1
Value used to weigh the
demand_indexdataset.- supply_weight: float, default 1
Value used to weigh the
supply_indexdataset.- buffer: str, default ``False``
Whether to buffer the areas outside the
RasterLayer.distance_limit.