From ef28ffcc5fbe8aae9d86d0a16a522b746bff9d0e Mon Sep 17 00:00:00 2001 From: signor82 Date: Tue, 25 Aug 2020 11:58:04 +0200 Subject: Corrects typo: decibel, not decibell (as pointed out by @terikin) --- docs/log_units.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/log_units.rst b/docs/log_units.rst index d2d4602..03e0079 100644 --- a/docs/log_units.rst +++ b/docs/log_units.rst @@ -44,11 +44,11 @@ you can define simple logarithmic quantities like most others: .. doctest:: >>> 20.0 * ureg.dBm - + >>> ureg('20.0 dBm') - + >>> ureg('20 dB') - + Converting to and from base units @@ -76,7 +76,7 @@ Convert back from a base unit to a logarithmic unit using the `.to()` method: .. doctest:: >>> (100.0 * ureg('mW')).to('dBm') - + >>> shift = Q_(4, '') >>> shift @@ -101,7 +101,7 @@ example of computing RMS noise from a noise density and a bandwidth: >>> bandwidth = 10.0 * ureg.kHz >>> noise_power = noise_density * bandwidth >>> noise_power.to('dBm') - + >>> noise_power.to('mW') -- cgit v1.2.1