astropy.units
astropy.units.function.logarithmic.
ABmag
AB magnitude: ABmag=-48.6 corresponds to 1 erg/s/cm2/Hz