synthpop.modules.post_processing.recalculate_kinematics

Post-processing module to recalculate and replace the kinematics of a catalog.

Classes

RecalculateKinematics

Post-processing module to recalculate and replace the kinematics of a catalog.

Module Contents

class synthpop.modules.post_processing.recalculate_kinematics.RecalculateKinematics(model, logger, pop_ids=None, **kwargs)

Bases: synthpop.modules.post_processing._post_processing.PostProcessing

Post-processing module to recalculate and replace the kinematics of a catalog.

Attributes

pop_idslist

Selection of which populations to replace kinematics for. If none is given, all will be replaced.

pop_ids = None
do_post_processing(dataframe: pandas.DataFrame) pandas.DataFrame

Replace the kinematic columns and return the modified catalog.