Giorgio Signorello
Giorgio Signorello
Can you also comment on what would have bean an esthetically pleasing ipython representation for Quantity?
Notice that the code: ``` >>> from pint import UnitRegistry >>> ureg = UnitRegistry(autoconvert_offset_to_baseunit=True) >>> -161 * ureg("dBm/Hz") ``` gives the result: ``` ``` Pint must consider 'gram * meter...
check comment on [unit conversion method](https://github.com/hgrecco/pint/pull/1027#issuecomment-646915079)
Notice that at if pint should support operations between log units, it should do so in a generic way. Let us make one example. `Q(10, ureg.dBm) + Q(20, ureg.dBm)` Let's...
Would this be ok for you to do? You get your desired output with the ratio operator in base units. >>> (Q(30, ureg.dBm).to_base_units() / Q(20, ureg.dBm).to_base_units()).to(ureg.dB) I would use pint...