LogUnit¶
- class astropy.units.LogUnit(physical_unit=None, function_unit=None)[source]¶
Bases:
FunctionUnitBase
Logarithmic unit containing a physical one
Usually, logarithmic units are instantiated via specific subclasses such
MagUnit
,DecibelUnit
, andDexUnit
.- Parameters:
Methods Summary
Transformation from value in physical to value in logarithmic units.
to_physical
(x)Transformation from value in logarithmic to value in physical units.
Methods Documentation