Closed engineerjoe440 closed 2 years ago
We should look at adding a few small functions, or perhaps a single "solver" that will use the appropriate one internally.
dBW_to_watts
watts_to_dBW
dBW_to_dBmW
dBmW_to_dBW
dBmW_to_watts
watts_to_dBmW
These can all be referred back to a tool like this one: https://www.basictables.com/electronics/decibel-dbw
This has been graciously completed in https://github.com/engineerjoe440/ElectricPy/commit/0b9c8f9c1fe444605ee844c2ad43e6a9dcde636e by @MrTuckie.
Thank you!
We should look at adding a few small functions, or perhaps a single "solver" that will use the appropriate one internally.
dBW_to_watts
: Convert dBW to power (in watts)watts_to_dBW
: Convert power (in watts) to dBWdBW_to_dBmW
: Convert dBW to dBmWdBmW_to_dBW
: Convert dBmW to dBWdBmW_to_watts
: Convert dBmW to power (in watts)watts_to_dBmW
: Convert power (in watts) to dBmWThese can all be referred back to a tool like this one: https://www.basictables.com/electronics/decibel-dbw