safe.postprocessors.age_postprocessor module

Postprocessors package.

class safe.postprocessors.age_postprocessor.AgePostprocessor[source]

Bases: safe.postprocessors.abstract_postprocessor.AbstractPostprocessor

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

see safe.defaults for default values information

clear()[source]

Clear postprocessor state.

description()[source]

Describe briefly what the post processor does.

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

Performs all the indicator calculations.

setup(params)[source]

Concrete implementation to ensure needed parameters are initialized.

Parameters:params (dict) – Dict of parameters to pass to the post processor.