Module: safe.engine.impact_functions_for_testing.allen_fatality_model
-
class safe.engine.impact_functions_for_testing.allen_fatality_model.EarthquakeFatalityFunction[source]
Risk plugin for earthquake damage
:author Allen
:rating 1
:param requires category==’hazard’ and subcategory.startswith(‘earthquake’) and layertype==’raster’ and unit==’MMI’
:param requires category==’exposure’ and subcategory.startswith(‘population’) and layertype==’raster’
-
static run(layers, a=0.97429, b=11.037)[source]
Risk plugin for earthquake fatalities
- Input
- layers: List of layers expected to contain
- H: Raster layer of MMI ground shaking
P: Raster layer of population data on the same grid as H
This module forms part of the InaSAFE tool.