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_set_dict synthpop.modules.post_processing.popsycle_post_processing.filter_matching_mist synthpop.modules.post_processing.popsycle_post_processing.synthpop_nonmag_cols synthpop.modules.post_processing.popsycle_post_processing.synthpop_nonmag_bin_cols synthpop.modules.post_processing.popsycle_post_processing.popsycle_nonmag_cols 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_set_dict .. py:data:: filter_matching_mist .. py:data:: synthpop_nonmag_cols :value: ['l', 'b', 'Dist', 'x', 'y', 'z', 'vr_bc', 'mul', 'mub', 'U', 'V', 'W', 'iMass', 'Mass',... .. py:data:: synthpop_nonmag_bin_cols :value: [] .. py:data:: popsycle_nonmag_cols :value: ['glat', 'glon', 'rad', 'px', 'py', 'pz', 'vr', 'mu_lcosb', 'mu_b', 'vx', 'vy', 'vz',... .. py:class:: PopsyclePostProcessing(model, logger, bin_edges_number=None, filter_sets=['ubv'], **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:attribute:: mag_cols :value: [] .. py:attribute:: synthpop_mag_cols :value: [] .. 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 + '_psc.h5'.