synthpop.modules.post_processing.recalculate_kinematics ======================================================= .. py:module:: synthpop.modules.post_processing.recalculate_kinematics .. autoapi-nested-parse:: Post-processing module to recalculate and replace the kinematics of a catalog. Classes ------- .. autoapisummary:: synthpop.modules.post_processing.recalculate_kinematics.RecalculateKinematics Module Contents --------------- .. py:class:: RecalculateKinematics(model, logger, pop_ids=None, **kwargs) Bases: :py:obj:`synthpop.modules.post_processing._post_processing.PostProcessing` Post-processing module to recalculate and replace the kinematics of a catalog. Attributes ---------- pop_ids : list Selection of which populations to replace kinematics for. If none is given, all will be replaced. .. py:attribute:: pop_ids :value: None .. py:method:: do_post_processing(dataframe: pandas.DataFrame) -> pandas.DataFrame Replace the kinematic columns and return the modified catalog.