safe.impact_functions.generic.continuous_hazard_population.impact_function module

InaSAFE Disaster risk assessment tool by AusAid - Generic Impact Function on Population for Continuous Hazard.

Contact : ole.moller.nielsen@gmail.com

Note

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

class safe.impact_functions.generic.continuous_hazard_population.impact_function.ContinuousHazardPopulationFunction[source]

Bases: safe.impact_functions.bases.continuous_rh_continuous_re.ContinuousRHContinuousRE, safe.impact_reports.population_exposure_report_mixin.PopulationExposureReportMixin

Plugin for impact of population as derived by continuous hazard.

notes()[source]

Return the notes section of the report.

Returns:The notes that should be attached to this impact report.
Return type:list
run()[source]

Plugin for impact of population as derived by continuous hazard.

Hazard is reclassified into 3 classes based on the extrema provided as impact function parameters.

Counts number of people exposed to each category of the hazard

Returns:Map of population exposed to high category Table with number of people in each category