DecibelUnit#

class astropy.units.DecibelUnit(physical_unit=None, function_unit=None)[源代码]#

基类:LogUnit

以分贝表示的对数物理单位。

参数:
physical_unitUnitstring单位或字符串

封装在分贝功能单元中的单元。如果未给出,则无量纲。

function_unitUnitstring单位或字符串

默认情况下,这是 dB ,但这允许使用等效单位,例如 2 dB .