MagUnit# class astropy.units.MagUnit(physical_unit=None, function_unit=None)[source]# Bases: LogUnit Logarithmic physical units expressed in magnitudes. Parameters: physical_unitUnit or stringUnit that is encapsulated within the magnitude function unit. If not given, dimensionless. function_unitUnit or stringBy default, this is mag, but this allows one to use an equivalent unit such as 2 mag.