engineerjoe440 / ElectricPy

Electrical Engineering Formulas in Python
https://electricpy.readthedocs.io/en/latest/
MIT License
86 stars 16 forks source link

Add Decibel Functions #66

Closed engineerjoe440 closed 2 years ago

engineerjoe440 commented 2 years ago

We should look at adding a few small functions, or perhaps a single "solver" that will use the appropriate one internally.

  1. dBW_to_watts: Convert dBW to power (in watts)
  2. watts_to_dBW: Convert power (in watts) to dBW
  3. dBW_to_dBmW: Convert dBW to dBmW
  4. dBmW_to_dBW: Convert dBmW to dBW
  5. dBmW_to_watts: Convert dBmW to power (in watts)
  6. watts_to_dBmW: Convert power (in watts) to dBmW

These can all be referred back to a tool like this one: https://www.basictables.com/electronics/decibel-dbw

engineerjoe440 commented 2 years ago

This has been graciously completed in https://github.com/engineerjoe440/ElectricPy/commit/0b9c8f9c1fe444605ee844c2ad43e6a9dcde636e by @MrTuckie.

Thank you!