synthpop.modules.post_processing
Submodules
- synthpop.modules.post_processing._post_processing
- synthpop.modules.post_processing.additional_cuts
- synthpop.modules.post_processing.blending
- synthpop.modules.post_processing.combined_csv
- synthpop.modules.post_processing.convert_mist_mags
- synthpop.modules.post_processing.equatorial_coordinates
- synthpop.modules.post_processing.gulls_post_processing
- synthpop.modules.post_processing.popsycle_post_processing
- synthpop.modules.post_processing.process_dark_compact_objects
- synthpop.modules.post_processing.recalculate_kinematics
- synthpop.modules.post_processing.rename_columns
Classes
Base class for post-processing, for catalog modifications after the |
Package Contents
- class synthpop.modules.post_processing.PostProcessing(model: types.ModuleType = None, logger: types.ModuleType = None, sun: types.ModuleType = None, **kwargs)
Base class for post-processing, for catalog modifications after the regular SynthPop generation process has completed.
- model = None
- logger = None
- sun = None
- do_post_processing(dataframe: pandas.DataFrame) pandas.DataFrame
This is a placeholder for the postprocessing. It must accept the pandas data frame and must return a pandas data frame.
Parameters
- dataframedataframe
original SynthPop output as pandas data frame
Returns
- dataframedataframe
modified pandas data frame