onstove.MCA.normalize_rasters#
- MCA.normalize_rasters(datasets: str | dict = 'all', buffer: bool = False, save_layers: bool = False)#
Calls the .normalize method of all the layers entered.
Normlaizes all input rasters using a ´MinMax´ normalization.
- Parameters:
- datasets: str or dict, default “all”
Defines the datasets to be normalized. Can be entered as either a string or a dictionary.
datasets={'category_1': ['layer_1', 'layer_2'], 'category_2': [...]}
- buffer: bool, default False
Whether to exclude the areas outside the
distance_limit
attribute and make them np.nan. Thedistance_limit
is an attribute of the datasets- save_layer: bool, default False
Determines whether to save the normalized dataset to disc or not.
See also