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