Giorgio Signorello
Results
2
issues of
Giorgio Signorello
In electrical engineering, quantities with logarithmic units such as dB and dBm are "summed" or "subtracted" although having different dimensionalities (which is forbidden for base units in pint). It would...
Initializing mixed log-base quantities gives wrong conversions to base units. Expected behavior: ``` >>> from pint import UnitRegistry >>> ureg = UnitRegistry(autoconvert_offset_to_baseunit=True) >>> (-161 * ureg("dBm/Hz")).to("mW/Hz") ** ``` Current behavior:...