synthpop.modules.post_processing.convert_mist_mags

Postprocessing module to convert magnitude systems for any filters provided by MIST.

Classes

ConvertMistMags

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.PostProcessing

Postprocessing 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.