# DexUnit¶

class astropy.units.function.logarithmic.DexUnit(physical_unit=None, function_unit=None)[source]

Logarithmic physical units expressed in magnitudes

Parameters: physical_unit : Unit that is encapsulated within the magnitude function unit. If not given, dimensionless. function_unit : By default, this is dex, but this allows one to use an equivalent unit such as 0.5 dex`.