synthpop.modules.post_processing.popsycle_post_processing ========================================================= .. py:module:: synthpop.modules.post_processing.popsycle_post_processing .. autoapi-nested-parse:: 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 ---------- .. autoapisummary:: synthpop.modules.post_processing.popsycle_post_processing.__author__ synthpop.modules.post_processing.popsycle_post_processing.filter_matching_mist Classes ------- .. autoapisummary:: synthpop.modules.post_processing.popsycle_post_processing.PopsyclePostProcessing Module Contents --------------- .. py:data:: __author__ :value: 'M.J. Huston, A. Kim, C. Lee' .. py:data:: filter_matching_mist .. py:class:: PopsyclePostProcessing(model, logger, bin_edges_number=None, **kwargs) Bases: :py:obj:`synthpop.modules.post_processing._post_processing.PostProcessing` Base class for post-processing, for catalog modifications after the regular SynthPop generation process has completed. .. py:attribute:: bin_edges_number :value: None .. py:method:: 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.