synthpop.modules.post_processing.popsycle_post_processing
Post-processing to convert the output into the PopSyCLE input format, ready to be plugged in at the calc_events stage. Note: obsmag must be set to FALSE in config file to use this module
Attributes
Classes
Base class for post-processing, for catalog modifications after the |
Module Contents
- synthpop.modules.post_processing.popsycle_post_processing.__author__ = 'M.J. Huston, A. Kim, C. Lee'
- synthpop.modules.post_processing.popsycle_post_processing.filter_matching_mist
- class synthpop.modules.post_processing.popsycle_post_processing.PopsyclePostProcessing(model, logger, bin_edges_number=None, **kwargs)
Bases:
synthpop.modules.post_processing._post_processing.PostProcessingBase class for post-processing, for catalog modifications after the regular SynthPop generation process has completed.
- bin_edges_number = None
- do_post_processing(dataframe: pandas.DataFrame) pandas.DataFrame
Converts DataFrame into format needed for input to PopSyCLE as a replacement for Galaxia, saving the file to the set file name + ‘.ebf’ and returning the DataFrame with modified columns.