mnp.species_models.environmental_factor

Module Contents

Classes

EnvironmentalFactor

API

class mnp.species_models.environmental_factor.EnvironmentalFactor(parameters: mnp.config.MNPParameters, species_code: str)

Bases: mnp.species_models.species_geo_map.SpeciesGeoMap

calculate(environmentals: dict)

Make habitat suitability map for this species model based on land type suitability map and abiotic maps. environmentals that are not within the species’ formula will be left out. This function first deconstructs the abiotic formula to know of which set of environmentals it should take pairwise minima before multiplication.

environmentals: dict

dictionary with ‘environmental name’: sparse array