synthpop.modules.post_processing.convert_mist_mags
Postprocessing module to convert magnitude systems for any filters provided by MIST.
Classes
Postprocessing module to convert magnitude systems for any |
Module Contents
- class synthpop.modules.post_processing.convert_mist_mags.ConvertMistMags(model, conversions, logger, **kwargs)
Bases:
synthpop.modules.post_processing._post_processing.PostProcessingPostprocessing module to convert magnitude systems for any filters provided by MIST. Allowed systems are Vega, AB, and ST.
Attributes
- conversionsdict
dictionary defining which filters to convert to which systems; format: {‘NEW_SYSTEM’:[‘FILTER1’, ‘FILTER2’]}
- conversions
- do_post_processing(dataframe: pandas.DataFrame) pandas.DataFrame
Perform the magnitude conversions and returns the modified DataFrame.