synthpop.modules.post_processing.convert_mist_mags ================================================== .. py:module:: synthpop.modules.post_processing.convert_mist_mags .. autoapi-nested-parse:: Postprocessing module to convert magnitude systems for any filters provided by MIST. Classes ------- .. autoapisummary:: synthpop.modules.post_processing.convert_mist_mags.ConvertMistMags Module Contents --------------- .. py:class:: ConvertMistMags(model, conversions, logger, **kwargs) Bases: :py:obj:`synthpop.modules.post_processing._post_processing.PostProcessing` Postprocessing module to convert magnitude systems for any filters provided by MIST. Allowed systems are Vega, AB, and ST. Attributes ---------- conversions : dict dictionary defining which filters to convert to which systems; format: {'NEW_SYSTEM':['FILTER1', 'FILTER2']} .. py:attribute:: conversions .. py:method:: do_post_processing(dataframe: pandas.DataFrame) -> pandas.DataFrame Perform the magnitude conversions and returns the modified DataFrame.