safe.postprocessors.building_type_postprocessor module

Postprocessors package.

class safe.postprocessors.building_type_postprocessor.BuildingTypePostprocessor[source]

Bases: safe.postprocessors.abstract_postprocessor.AbstractPostprocessor

Postprocessor that calculates building types related statistics. see the _calculate_* methods to see indicator specific documentation

see safe.defaults for default values information

clear()[source]

concrete implementation that ensures needed parameters are cleared.

description()[source]

Describe briefly what the post processor does.

Returns:The translated description.
Return type:str
process()[source]

Concrete implementation that performs all indicators calculations.

setup(params)[source]
concrete implementation it takes care of the needed parameters being
initialized
Parameters:params – dict of parameters to pass to the post processor